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/create-first-function-cli-python.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -91,7 +91,7 @@ In Azure Functions, a function project is a container for one or more individual
91
91
::: zone pivot="python-mode-configuration"
92
92
In this section, you create a function project that contains a single function.
93
93
94
-
1. Run the `func init` command as follows to create a Python functions project in the virtual environment.
94
+
1. Run the [`func init`](functions-core-tools-reference.md#func-init) command as follows to create a Python functions project in the virtual environment.
95
95
96
96
```console
97
97
func init --python --model V1
@@ -105,7 +105,7 @@ In this section, you create a function project that contains a single function.
105
105
func new --name HttpExample --template "HTTP trigger" --authlevel "anonymous"
106
106
```
107
107
108
-
`func new` creates a subfolder matching the function name that contains a code file appropriate to the project's chosen language and a configuration file named *function.json*.
108
+
[`func new`](functions-core-tools-reference.md#func-new) creates a subfolder matching the function name that contains a code file appropriate to the project's chosen language and a configuration file named *function.json*.
109
109
110
110
1. Run this command to make sure that the Azure Functions library is installed in the environment.
111
111
@@ -133,7 +133,7 @@ In this section, you create a function project that contains a single function.
133
133
::: zone pivot="python-mode-decorators"
134
134
In this section, you create a function project and add an HTTP triggered function.
135
135
136
-
1. Run the `func init` command as follows to create a Python v2 functions project in the virtual environment.
136
+
1. Run the [`func init`](functions-core-tools-reference.md#func-init) command as follows to create a Python v2 functions project in the virtual environment.
137
137
138
138
```console
139
139
func init --python
@@ -147,7 +147,7 @@ In this section, you create a function project and add an HTTP triggered functio
147
147
func new --name HttpExample --template "HTTP trigger" --authlevel "anonymous"
148
148
```
149
149
150
-
If prompted, choose the **ANONYMOUS** option. `func new` adds an HTTP trigger endpoint named `HttpExample` to the `function_app.py` file, which is accessible without authentication.
150
+
If prompted, choose the **ANONYMOUS** option. [`func new`](functions-core-tools-reference.md#func-new) adds an HTTP trigger endpoint named `HttpExample` to the `function_app.py` file, which is accessible without authentication.
151
151
152
152
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.
0 commit comments