Skip to content

Commit 65e05da

Browse files
Merge pull request #239575 from ggailey777/public-sync
[Functions][Py][QS] make note version-specific
2 parents c87dd2c + 93d1c4f commit 65e05da

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

articles/azure-functions/create-first-function-vs-code-python.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Create a Python function using Visual Studio Code - Azure Functions
33
description: Learn how to create a Python function, then publish the local project to serverless hosting in Azure Functions using the Azure Functions extension in Visual Studio Code.
44
ms.topic: quickstart
5-
ms.date: 10/24/2022
5+
ms.date: 05/29/2023
66
ms.devlang: python
77
ms.custom: devx-track-python, mode-api, devdivchpfy22, vscode-azure-extension-update-complete
88
zone_pivot_groups: python-mode-functions
@@ -14,8 +14,14 @@ In this article, you use Visual Studio Code to create a Python function that res
1414

1515
This article covers both Python programming models supported by Azure Functions. Use the selector at the top to choose your programming model.
1616

17+
::: zone pivot="python-mode-configuration"
18+
>[!NOTE]
19+
>There is now a v2 programming model for creating Python functions. To create your first function using [the new v2 programming model](create-first-function-vs-code-python.md?pivots=python-mode-decorators), select **v2** at the top of the article.
20+
::: zone-end
21+
::: zone pivot="python-mode-decorators"
1722
>[!NOTE]
1823
>The v2 programming model provides a decorator based approach to create functions. To learn more about the v2 programming model, see the [Developer Reference Guide](functions-reference-python.md).
24+
::: zone-end
1925

2026
Completing this quickstart incurs a small cost of a few USD cents or less in your Azure account.
2127

0 commit comments

Comments
 (0)