An Azure service that provides an event-driven serverless compute platform.
Hello @Raju Reddy,
The documentation currently does not provide specific guidance on implementing Singletons for Durable Functions in Azure Functions v2 using Python. The concept of singletons in Durable Functions is applicable, and you can create a singleton orchestrator by assigning a specific instance ID to the orchestrator when creating it. This ensures that only one instance of the orchestrator runs at a time.
For Python, you can use the Durable Functions 2.0 features, which include entity functions that can help manage stateful workflows. While the specific singleton implementation details for Python in v2 may not be explicitly documented, you can refer to the general principles of Durable Functions and adapt them to your needs.
For further clarification, please refer to the following documentations:
Singleton orchestrators in Durable Functions (Azure Functions)
Hope this helps. Do let us know if you any further queries.