The Durable extension HTTP API accepts instanceIdPrefix as a filter criteria:
GET /runtime/webhooks/durabletask/instances/?instanceIdPrefix=940c5f519eb0
But the Python SDK's RpcManagementOptions never emits that query string and get_status_by doesn't expose it as a parameter. (The .NET SDKs do expose it.)
Proposed fix to the Python SDK:
- Add
instance_id_prefix: Optional[str] = None to RpcManagementOptions.__init__ (models/RpcManagementOptions.py:13).
- Emit it in
to_url: self._add_arg(query, 'instanceIdPrefix', self._instance_id_prefix).
- Thread a new
kwarg into DurableOrchestrationClient.get_status_by (models/DurableOrchestrationClient.py:329).
The Durable extension HTTP API accepts
instanceIdPrefixas a filter criteria:GET /runtime/webhooks/durabletask/instances/?instanceIdPrefix=940c5f519eb0But the Python SDK's
RpcManagementOptionsnever emits that query string andget_status_bydoesn't expose it as a parameter. (The .NET SDKs do expose it.)Proposed fix to the Python SDK:
instance_id_prefix: Optional[str] = NonetoRpcManagementOptions.__init__(models/RpcManagementOptions.py:13).to_url: self._add_arg(query, 'instanceIdPrefix', self._instance_id_prefix).kwargintoDurableOrchestrationClient.get_status_by(models/DurableOrchestrationClient.py:329).