Skip to content

Commit a0a0f8d

Browse files
committed
fix formatting
1 parent 566fcea commit a0a0f8d

File tree

3 files changed

+5
-236
lines changed

3 files changed

+5
-236
lines changed

articles/azure-functions/durable/TOC.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,8 @@
2727
displayName: get started, chaining
2828
href: quickstart-js-vscode.md
2929
- name: CReate durable function - Python
30-
items:
31-
- name: Create durable function - Python (V1)
32-
displayName: get started, chaining
33-
href: quickstart-python-vscode.md
34-
- name: Create durable function - Python (V2)
35-
displayName: get started, chaining
36-
href: quickstart-python-vscode-v2.md
30+
displayName: get started, chaining
31+
href: quickstart-python-vscode.md
3732
- name: Create durable function - PowerShell
3833
displayName: get started, chaining
3934
href: quickstart-powershell-vscode.md

articles/azure-functions/durable/quickstart-python-vscode-v2.md

Lines changed: 0 additions & 227 deletions
This file was deleted.

articles/azure-functions/durable/quickstart-python-vscode.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ In this section, you use Visual Studio Code to create a local Azure Functions pr
5555
| Python version | Python 3.7, 3.8, or 3.9 | Visual Studio Code will create a virtual environment with the version you select. |
5656
| Select a template for your project's first function | Skip for now | |
5757
| Select how you would like to open your project | Open in current window | Reopens Visual Studio Code in the folder you selected. |
58+
::: zone-end
5859

5960
::: zone pivot="python-mode-decorators"
6061

@@ -67,7 +68,6 @@ In this section, you use Visual Studio Code to create a local Azure Functions pr
6768
| Python version | Python 3.7, 3.8, or 3.9 | Visual Studio Code will create a virtual environment with the version you select. |
6869
| Select a template for your project's first function | Skip for now | |
6970
| Select how you would like to open your project | Open in current window | Reopens Visual Studio Code in the folder you selected. |
70-
7171
::: zone-end
7272

7373

@@ -172,12 +172,13 @@ Finally, you'll add an HTTP triggered function that starts the orchestration.
172172
You've added an HTTP triggered function that starts an orchestration. Open *DurableFunctionsHttpStart/\_\_init__.py* to see that it uses `client.start_new` to start a new orchestration. Then it uses `client.create_check_status_response` to return an HTTP response containing URLs that can be used to monitor and manage the new orchestration.
173173
174174
You now have a Durable Functions app that can be run locally and deployed to Azure.
175+
::: zone-end
175176
176177
::: zone pivot="python-mode-decorators"
177178
178179
Using the V2 Python programming model, all these functions can be placed in a single file. To do this, replace the contents of `function_app.py` with the following code.
179180
180-
``Python
181+
```Python
181182
import azure.functions as func
182183
import azure.durable_functions as df
183184

0 commit comments

Comments
 (0)