You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-functions/durable/durable-functions-overview.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ Durable Functions is designed to work with all Azure Functions programming langu
29
29
| Java | Functions 4.0+ | Java 8+ | 4.x bundles |
30
30
31
31
> [!NOTE]
32
-
> The new programming models for authoring Functions in Python (V2) and Node.js (V4) are currently in preview. Compared to the current models, the new experiences are designed to be more flexible and intuitive for Python and JavaScript/TypeScript developers. Learn more about the differences between the models in the[Python developer guide](../functions-reference-python.md?pivots=python-mode-decorators) and[Node.js upgrade guide](../functions-node-upgrade-v4.md).
32
+
> The new programming model for authoring Functions in Node.js (V4) is currently in preview. Compared to the current model, this new experience is designed to be more flexible and intuitive for Node developers. Learn more about the differences between the models in the [Node.js upgrade guide](../functions-node-upgrade-v4.md).
33
33
>
34
34
> In the following code snippets, Python (PM2) denotes programming model V2, and JavaScript (PM4) denotes programming model V4, the new experiences.
@@ -18,9 +18,6 @@ In this article, you learn how to use the Visual Studio Code Azure Functions ext
18
18
19
19
:::image type="content" source="./media/quickstart-python-vscode/functions-vs-code-complete.png" alt-text="Screenshot of the running durable function in Azure.":::
20
20
21
-
> [!NOTE]
22
-
> The new programming model for authoring Functions in Python (V2) is currently in preview. Compared to the current model, the new experience is designed to be more idiomatic and intuitive for Python programmers. To learn more, see Azure Functions Python [developer guide](../functions-reference-python.md?pivots=python-mode-decorators).
23
-
24
21
## Prerequisites
25
22
26
23
To complete this tutorial:
@@ -184,10 +181,11 @@ Version 2 of the Python programming model requires the following minimum version
The following application setting is required to run the v2 programming model while it is in preview:
188
+
The following application setting is required to run the v2 programming model:
191
189
- Name: `AzureWebJobsFeatureFlags`
192
190
- Value: `EnableWorkerIndexing`
193
191
@@ -259,6 +257,10 @@ Review the table below for an explanation of each function and its purpose in th
259
257
|**`hello`**| The activity function, which performs the work being orchestrated. The function returns a simple greeting to the city passed as an argument. |
260
258
|**`http_start`**| An [HTTP-triggered function](../functions-bindings-http-webhook.md) that starts an instance of the orchestration and returns a check status response. |
261
259
260
+
> [!NOTE]
261
+
> Durable Functions also supports Python V2's [blueprints](../functions-reference-python.md#blueprints). To use them, you will need to register your blueprint functions using the [`azure-functions-durable`](https://pypi.org/project/azure-functions-durable)`Blueprint` class, as
262
+
> shown [here](https://github.com/Azure/azure-functions-durable-python/blob/dev/samples-v2/blueprint/durable_blueprints.py). The resulting blueprint can then be registered as normal. See our [sample](https://github.com/Azure/azure-functions-durable-python/tree/dev/samples-v2/blueprint) for an example.
Copy file name to clipboardExpand all lines: articles/azure-functions/functions-reference-python.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -273,6 +273,10 @@ app = func.FunctionApp()
273
273
app.register_functions(bp)
274
274
```
275
275
276
+
> [!NOTE]
277
+
> Durable Functions also supports blueprints. To create blueprints for Durable Functions apps, register your orchestration, activity, and entity triggers and client bindings using the [`azure-functions-durable`](https://pypi.org/project/azure-functions-durable)`Blueprint` class, as
278
+
> shown [here](https://github.com/Azure/azure-functions-durable-python/blob/dev/samples-v2/blueprint/durable_blueprints.py). The resulting blueprint can then be registered as normal. See our [sample](https://github.com/Azure/azure-functions-durable-python/tree/dev/samples-v2/blueprint) for an example.
0 commit comments