Maintained with ☕️ by
IcePanel logo

Durable Functions now supports Python

Share

Services

Durable Functions, an extension to Azure Functions that lets you define stateful serverless workflows, now supports Python. Developers and data scientists can now orchestrate complex data processing and data science workloads in Azure Functions using familiar Python language constructs. A common scenario enabled by Durable Functions is chaining together a sequence of functions to build a long-running data-processing pipeline. You write an orchestrator function that uses ordinary Python code to compose a workflow that calls other Azure Functions. Durable Functions takes care of checkpointing progress and retry logic, and you can handle errors in your orchestration with standard try/except statements. ![Durable Functions – Orchestrator Function](https://acomblogimages.blob.core.windows.net:443/updates/UpdatesV2/Open-Live-Writer/durable-functions_orchestrator-function.png) Another scenario made possible by Durable Functions is fanning out machine learning workloads to perform parallel tasks, taking advantage of the elastic scale offered by the Azure Functions serverless platform. ![Durable Functions – Data processing](https://acomblogimages.blob.core.windows.net:443/updates/UpdatesV2/Open-Live-Writer/durable-functions_data-processing.png) Read the [documentation](https://docs.microsoft.com/azure/azure-functions/durable/durable-functions-overview?tabs=python) for more patterns supported by Durable Functions. To get started with Python Durable Functions, try the [quickstart](https://docs.microsoft.com/azure/azure-functions/durable/quickstart-python-vscode). * Azure functions * Features * [ Azure functions](https://azure.microsoft.com/en-gb/products/functions/)