temporalio / sdk-python

Temporal Python SDK
MIT License
474 stars 77 forks source link

[Feature Request] add get update handle and set run ID #424

Closed cretz closed 6 months ago

cretz commented 1 year ago

Describe the solution you'd like

Should be able to get an update handle from a workflow handle. Also since updates are always run-specific, when using "start", the update handle should use the returned run ID regardless of what user passed in (but can still leave optional when using getter). And for the update-handle getter, we should document very clearly the consequences of getting an update handle on a workflow handle with no run ID.