Skip to content

Commit 64ceb3d

Browse files
authored
Merge pull request #88752 from PramodValavala-MSFT/patch-59
(AzureCXP) add note for known issue with extension
2 parents b804cb0 + 5f84aac commit 64ceb3d

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

articles/azure-functions/tutorial-vs-code-serverless-python.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,18 @@ In this section, you add a storage binding to the HttpExample function created e
441441
}
442442
```
443443
444+
1. Replace the contents of *host.json* with the following, adding the [extension bundles reference](functions-bindings-register.md#extension-bundles).
445+
446+
```json
447+
{
448+
"version": "2.0",
449+
"extensionBundle": {
450+
"id": "Microsoft.Azure.Functions.ExtensionBundle",
451+
"version": "[1.*, 2.0.0)"
452+
}
453+
}
454+
```
455+
444456
1. Now that you've configured the binding, you can use it in your function code. Again, the newly defined binding appears in your code as an argument to the `main` function in *\_\_init\_\_.py*. For example, you can modify the *\_\_init\_\_.py* file in HttpExample to match the following, which shows using the `msg` argument to write a timestamped message with the name used in the request. The comments explain the specific changes:
445457
446458
```python

0 commit comments

Comments
 (0)