Generally Available: V2 programming model for Azure Functions using Python
Published date: May 23, 2023
The v2 programming model for Azure Functions using Python is now generally available. This programming model is designed to provide a Functions development experience that is more familiar to Python developers. Key features include triggers and bindings declared as decorators and in-editor support with easy to reference documentation.
With the V2 programming model, customers will benefit from:
- A simplified folder structure, where there will be fewer files within a function application. Multiple functions in the application can now be defined in the same file.
- Triggers and bindings will be represented as decorators, eliminating the need for the ‘function.json’ configuration file.
- Easily accessible documentation with an option to View Template’ before creating a function in VS Code.
Leveraging the V2 programming model will provide an improved and seamless way to create functions, with the underlying deployment, debugging, and monitoring experience remaining the same. To learn more about the V2 programming model, get started here and read the blog post.