Azure / azure-functions-durable-python

Python library for using the Durable Functions bindings.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support instanceIdPrefix for DurableOrchestrationClient.get_status_by

gukoff opened this issue · comments

💡 Feature description

DurableOrchestrationClient.get_status_by to support all parameters available on the API.

Many parameters are missing, including:

  • instanceIdPrefix
  • top
  • showInput
  • showHistoryOutput

The parameter instanceIdPrefix alone is important because it allows the safer implementation of the Durable Function Singleton pattern.

The safer implementation of that pattern is to append a random suffix to the static instanceId. This ensures that even in case of a race condition, when more than one orchestrator is running at the same time, these orchestrators will have different instance IDs.