<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Dapr Python SDK integration with Databricks Lakeflow on Dapr Docs</title><link>https://docs.dapr.io/developing-applications/sdks/python/python-sdk-extensions/python-databricks-ext/</link><description>Recent content in Dapr Python SDK integration with Databricks Lakeflow on Dapr Docs</description><generator>Hugo</generator><language>en</language><atom:link href="https://docs.dapr.io/developing-applications/sdks/python/python-sdk-extensions/python-databricks-ext/index.xml" rel="self" type="application/rss+xml"/><item><title>Getting started with the Dapr Databricks Python SDK extension</title><link>https://docs.dapr.io/developing-applications/sdks/python/python-sdk-extensions/python-databricks-ext/python-databricks/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.dapr.io/developing-applications/sdks/python/python-sdk-extensions/python-databricks-ext/python-databricks/</guid><description>&lt;p>Let&amp;rsquo;s run a fraud-remediation example that turns simulated Databricks Lakeflow records into durable
Dapr Workflow executions. With the
&lt;a href="https://github.com/dapr/python-sdk/tree/main/examples/databricks">provided example&lt;/a>, you will:&lt;/p>
&lt;ul>
&lt;li>Run a Dapr Workflow (&lt;code>fraud_remediation&lt;/code>) that freezes a card, notifies the customer, opens an
investigation, waits for an analyst decision, and resolves the case&lt;/li>
&lt;li>Feed it two simulated Lakeflow micro-batches through &lt;code>dapr.ext.databricks&lt;/code>&amp;rsquo;s batch handler — no
Databricks workspace or &lt;code>pyspark&lt;/code> required for this part&lt;/li>
&lt;li>See a retried micro-batch schedule zero duplicate workflow executions, because every instance ID
is derived deterministically from the record&amp;rsquo;s own business key&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-text" data-lang="text">&lt;span class="line">&lt;span class="cl">Databricks Lakeflow identifies a suspicious transaction
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> |
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> dapr.ext.databricks sink
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> |
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> FraudRemediationWorkflow
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> |
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> freeze card -&amp;gt; notify customer -&amp;gt; open investigation
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> |
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> wait for analyst decision
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> |
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> resolve case
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>This example uses the default configuration from &lt;code>dapr init&lt;/code> in
&lt;a href="https://github.com/dapr/cli#install-dapr-on-your-local-machine-self-hosted">self-hosted mode&lt;/a>.&lt;/p></description></item></channel></rss>