azure-docs
azure-docs copied to clipboard
Local Python function V2 has V1 example reference
I was following this document the Quickstart: Create a Python function in Azure from the command line
and I'm using the v2 Python Programming model.
The directions at the location https://learn.microsoft.com/en-us/azure/azure-functions/create-first-function-cli-python?pivots=python-mode-decorators&tabs=azure-cli%2Cbash#run-the-function-locally
Specifically step #2, a snippet Copy the URL of your HTTP function from this output
This step shouldn't be here for the Python V2 programming Model.
In V1 Python Programming model, the example we have to copy and paste from the docs, BUT in V2 we DO NOT because the template has already generated a proper HTTP function.
V1's example HTTP function is more complex than the V2 default template and step #2 works, BUT in V2 all we get in the browser is....
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
- ID: 8b1ff97a-0ca7-c91b-5b45-370212407a51
- Version Independent ID: b60719ca-3e64-8a00-75bb-dda1d8119b21
- Content: Create a Python function from the command line - Azure Functions
- Content Source: articles/azure-functions/create-first-function-cli-python.md
- Service: azure-functions
- GitHub Login: @ggailey777
- Microsoft Alias: glenga
Thank you for your feedback! We will review and update as appropriate.
Thanks @DevopsMercenary! We'll get this addressed soon.