Skip to content

Commit fd1acc0

Browse files
committed
Merge branch 'shreya' of https://github.com/ggailey777/azure-docs-pr into shreya
2 parents e38ac7c + c6a9b46 commit fd1acc0

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

articles/azure-functions/functions-bindings-triggers-python.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ To create your first function in the new v2 model, see one of these quickstart a
2626
+ [Get started with Visual Studio](./create-first-function-vs-code-python.md)
2727
+ [Get started command prompt](./create-first-function-cli-python.md)
2828

29-
## Blob Trigger
29+
## Blob trigger
3030

3131
The following code snippet defines a function triggered from Azure Blob Storage:
3232

@@ -43,7 +43,7 @@ def test_function(myblob: func.InputStream):
4343
f"Blob Size: {myblob.length} bytes")
4444
```
4545

46-
## Cosmos DB Trigger
46+
## Azure Cosmos DB trigger
4747

4848
The following code snippet defines a function triggered from an Azure Cosmos DB (SQL API):
4949

@@ -59,7 +59,7 @@ def test_function(documents: func.DocumentList) -> str:
5959
logging.info('Document id: %s', documents[0]['id'])
6060
```
6161

62-
## EventHub Trigger
62+
## Azure EventHub trigger
6363

6464
The following code snippet defines a function triggered from an event hub instance:
6565

@@ -75,7 +75,7 @@ def test_function(myhub: func.EventHubEvent):
7575
myhub.get_body().decode('utf-8'))
7676
```
7777

78-
## HTTP Trigger
78+
## HTTP trigger
7979

8080
The following code snippet defines an HTTP triggered function:
8181

@@ -104,7 +104,7 @@ def test_function(req: func.HttpRequest) -> func.HttpResponse:
104104
)
105105
```
106106

107-
## Queue Trigger
107+
## Azure Queue Storage trigger
108108

109109
```python
110110
import logging
@@ -118,7 +118,7 @@ def test_function(msg: func.QueueMessage):
118118
msg.get_body().decode('utf-8'))
119119
```
120120

121-
## Service Bus Queue Trigger
121+
## Azure Service Bus queue trigger
122122

123123
```python
124124
import logging
@@ -131,7 +131,7 @@ def test_function(msg: func.ServiceBusMessage):
131131
msg.get_body().decode('utf-8'))
132132
```
133133

134-
## Service Bus Topic Trigger
134+
## Azure Service Bus topic trigger
135135

136136
```python
137137
import logging
@@ -145,7 +145,7 @@ def test_function(message: func.ServiceBusMessage):
145145
logging.info("Message Body: " + message_body)
146146
```
147147

148-
## Timer Trigger
148+
## Timer trigger
149149

150150
```python
151151
import datetime

articles/azure-functions/functions-reference-python.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ from ..shared_code import my_first_helper_function #(deprecated beyond top-level
292292

293293
::: zone-end
294294

295-
## Triggers and Inputs
295+
## Triggers and inputs
296296

297297
::: zone pivot="python-mode-configuration"
298298
Inputs are divided into two categories in Azure Functions: trigger input and other input. Although they're different in the `function.json` file, usage is identical in Python code. Connection strings or secrets for trigger and input sources map to values in the `local.settings.json` file when running locally, and the application settings when running in Azure.
@@ -540,7 +540,7 @@ def main(req, context):
540540
})
541541
```
542542

543-
## HTTP Trigger and bindings
543+
## HTTP trigger
544544

545545
::: zone pivot="python-mode-configuration"
546546
The HTTP trigger is defined in the function.json file. The `name` of the binding must match the named parameter in the function.
@@ -761,7 +761,7 @@ app = func.WsgiFunctionApp(app=flask_app.wsgi_app,
761761
---
762762

763763
::: zone-end
764-
## Scaling and Performance
764+
## Scaling and performance
765765

766766
For scaling and performance best practices for Python function apps, see the [Python scale and performance article](python-scale-performance-reference.md).
767767

@@ -986,7 +986,7 @@ func azure functionapp publish <APP_NAME> --no-build
986986

987987
Remember to replace `<APP_NAME>` with the name of your function app in Azure.
988988

989-
## Unit Testing
989+
## Unit testing
990990

991991
Functions written in Python can be tested like other Python code using standard testing frameworks. For most bindings, it's possible to create a mock input object by creating an instance of an appropriate class from the `azure.functions` package. Since the [`azure.functions`](https://pypi.org/project/azure-functions/) package isn't immediately available, be sure to install it via your `requirements.txt` file as described in the [package management](#package-management) section above.
992992

@@ -1350,7 +1350,7 @@ This functionality is available only for function apps running in Premium and De
13501350

13511351
## Known issues and FAQ
13521352

1353-
Following is a list of troubleshooting guides for common issues:
1353+
The following is a list of troubleshooting guides for common issues:
13541354

13551355
* [ModuleNotFoundError and ImportError](recover-python-functions.md#troubleshoot-modulenotfounderror)
13561356
* [Can't import 'cygrpc'](recover-python-functions.md#troubleshoot-cannot-import-cygrpc).
Binary file not shown.

0 commit comments

Comments
 (0)