Skip to content

Commit d8e16be

Browse files
authored
Merge pull request #103869 from kraigb/master
Fix headings and deploy phrasing
2 parents e9120f3 + 73e838e commit d8e16be

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ In Azure Functions, a function project is a container for one or more individual
102102
103103
If desired, you can skip to [Run the function locally](#run-the-function-locally) and examine the file contents later.
104104
105-
### \_\_init\_\_.py
105+
#### \_\_init\_\_.py
106106
107107
*\_\_init\_\_.py* contains a `main()` Python function that's triggered according to the configuration in *function.json*.
108108
@@ -135,7 +135,7 @@ def main(req: func.HttpRequest) -> func.HttpResponse:
135135

136136
For HTTP trigger, the function receives request data in the variable `req` as defined in *function.json*. `req` is an instance of the [azure.functions.HttpRequest class](/python/api/azure-functions/azure.functions.httprequest). The return object, defined as `$return` in *function.json*, is an instance of [azure.functions.HttpResponse class](/python/api/azure-functions/azure.functions.httpresponse). To learn more, see [Azure Functions HTTP triggers and bindings](functions-bindings-http-webhook.md).
137137

138-
### function.json
138+
#### function.json
139139

140140
*function.json* is a configuration file that defines the input and output `bindings` for the function, including the trigger type. You can change `scriptFile` to invoke a different Python file if desired.
141141

@@ -194,7 +194,7 @@ When you're ready, **Ctrl**+**C** to stop the functions host.
194194

195195
## Create supporting Azure resources for your function
196196

197-
To deploy your function code to Azure, you need to create three resources:
197+
Before you can deploy your function code to Azure, you need to create three resources:
198198

199199
- A resource group, which is a logical container for related resources.
200200
- An Azure Storage account, which maintains state and other information about your projects.

0 commit comments

Comments
 (0)