author | ms.service | ms.topic | ms.date | ms.author |
---|---|---|---|---|
ggailey777 | azure-functions | include | 05/01/2024 | glenga |
Azure Functions supports two programming models for Python. The way that you define your bindings depends on your chosen programming model.
The Python v2 programming model lets you define bindings using decorators directly in your Python function code. For more information, see the Python developer guide.
The Python v1 programming model requires you to define bindings in a separate function.json file in the function folder. For more information, see the Python developer guide.
This article supports both programming models.