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
@@ -28,12 +28,8 @@ Before you begin, you must have the following requirements in place:
28
28
29
29
+ An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?ref=microsoft.com&utm_source=microsoft.com&utm_medium=docs&utm_campaign=visualstudio).
30
30
31
-
::: zone pivot="python-mode-configuration"
32
31
+ The [Azure Functions Core Tools](functions-run-local.md#v2) version 4.x.
33
-
::: zone-end
34
-
::: zone pivot="python-mode-decorators"
35
-
+ The [Azure Functions Core Tools](functions-run-local.md#v2) version 4.2.1 or later.
36
-
::: zone-end
32
+
37
33
+ One of the following tools for creating Azure resources:
38
34
39
35
+[Azure CLI](/cli/azure/install-azure-cli) version 2.4 or later.
@@ -171,16 +167,25 @@ In Azure Functions, a function project is a container for one or more individual
171
167
172
168
1. The file `function_app.py` can include all functions within your project. To start with, there's already an HTTP function stored in the file.
return func.HttpResponse("HttpTrigger1 function processed a request!")
179
+
```
180
+
1. Open the local.settings.json project file and verify that the `AzureWebJobsFeatureFlags` setting has a value of `EnableWorkerIndexing`. This is required for Functions to interpret your project correctly as the Python v2 model. You'll add this same setting to your application settings after you publish your project to Azure.
181
+
182
+
1. In the local.settings.json file, update the `AzureWebJobsStorage` setting as in the following example:
return func.HttpResponse("HttpTrigger1 function processed a request!")
183
-
```
188
+
This tells the local Functions host to use the storage emulator for the storage connection currently required by the Python v2 model. When you publish your project to Azure, you'll need to instead use the default storage account. If you're instead using an Azure Storage account, set your storage account connection string here.
0 commit comments