Generally Available: V2 programming model for Azure Functions using Python

Azure Updates

Discussionpowered by zap.ms

Published

May 23, 2023

Status

Launched

Timeline

  • May 2023
    General Availability

Product

Azure Functions

Tag

Features
Microsoft Build

Category

Compute
Containers
Internet of Things

Description

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.