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
@@ -15,6 +15,23 @@ Use Azure Service Bus output binding to send queue or topic messages.
15
15
16
16
For information on setup and configuration details, see the [overview](functions-bindings-service-bus.md).
17
17
18
+
::: zone pivot="programming-language-python"
19
+
Azure Functions supports two programming models for Python. The way that you define your bindings depends on your chosen programming model.
20
+
21
+
# [v2](#tab/python-v2)
22
+
The Python v2 programming model lets you define bindings using decorators directly in your Python function code. For more information, see the [Python developer guide](functions-reference-python.md?pivots=python-mode-decorators#programming-model).
23
+
24
+
# [v1](#tab/python-v1)
25
+
The Python v1 programming model requires you to define bindings in a separate *function.json* file in the function folder. For more information, see the [Python developer guide](functions-reference-python.md?pivots=python-mode-configuration#programming-model).
26
+
27
+
---
28
+
29
+
This article supports both programming models.
30
+
31
+
> [!IMPORTANT]
32
+
> The Python v2 programming model is currently in preview.
0 commit comments