Skip to content

Commit 74ffe18

Browse files
Merge pull request #220515 from ggailey777/public-fixup
[Functions] Public fixes for Azurite
2 parents 6a6e48c + d38559b commit 74ffe18

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

articles/azure-functions/create-first-function-cli-python.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ In Azure Functions, a function project is a container for one or more individual
136136
cd LocalFunctionProj
137137
```
138138

139-
This folder contains various files for the project, including configuration files named *[local.settings.json]*(functions-develop-local.md#local-settings-file) and *[host.json]*(functions-host-json.md). Because *local.settings.json* can contain secrets downloaded from Azure, the file is excluded from source control by default in the *.gitignore* file.
139+
This folder contains various files for the project, including configuration files named [*local.settings.json*](functions-develop-local.md#local-settings-file) and [*host.json*](functions-host-json.md). Because *local.settings.json* can contain secrets downloaded from Azure, the file is excluded from source control by default in the *.gitignore* file.
140140

141141
1. Add a function to your project by using the following command, where the `--name` argument is the unique name of your function (HttpExample) and the `--template` argument specifies the function's trigger (HTTP).
142142

@@ -165,7 +165,7 @@ In Azure Functions, a function project is a container for one or more individual
165165
cd LocalFunctionProj
166166
```
167167

168-
This folder contains various files for the project, including configuration files named *[local.settings.json]*(functions-develop-local.md#local-settings-file) and *[host.json]*(functions-host-json.md). Because *local.settings.json* can contain secrets downloaded from Azure, the file is excluded from source control by default in the *.gitignore* file.
168+
This folder contains various files for the project, including configuration files named [*local.settings.json*](functions-develop-local.md#local-settings-file) and [*host.json*](functions-host-json.md). Because *local.settings.json* can contain secrets downloaded from Azure, the file is excluded from source control by default in the *.gitignore* file.
169169

170170
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.
171171

@@ -177,7 +177,7 @@ app = func.FunctionApp()
177177
@app.function_name(name="HttpTrigger1")
178178
@app.route(route="hello")
179179
def test_function(req: func.HttpRequest) -> func.HttpResponse:
180-
return func.HttpResponse("HttpTrigger1 function processed a request!")%
180+
return func.HttpResponse("HttpTrigger1 function processed a request!")
181181
```
182182
::: zone-end
183183

@@ -211,7 +211,9 @@ For more information, see [Azure Functions HTTP triggers and bindings](./functio
211211

212212
## Start the storage emulator
213213

214-
Before running the function locally, you must start the local Azurite storage emulator. You can skip this step if the `AzureWebJobsStorage` setting in the local.settings.json file is set to the connection string for an Azure Storage account.
214+
By default, local development uses the Azurite storage emulator. This emulator is used when the `AzureWebJobsStorage` setting in the *local.settings.json* project file is set to `UseDevelopmentStorage=true`. When using the emulator, you must start the local Azurite storage emulator before running the function.
215+
216+
You can skip this step if the `AzureWebJobsStorage` setting in *local.settings.json* is set to the connection string for an Azure Storage account instead of `UseDevelopmentStorage=true`.
215217

216218
Use the following command to start the Azurite storage emulator:
217219

0 commit comments

Comments
 (0)