sdk-python
sdk-python copied to clipboard
Insert guard clause for workflow.upsert_search_attributes on empty inputs
Fix for https://github.com/temporalio/sdk-python/issues/629
What was changed
Guard clause on workflow.upsert_search_attributes so SDK doesn't crash on empty input.
Why?
Spent 5 hours debugging an inscrutable error message.
Checklist
-
Closes 629
-
How was this tested: Pass empty list into
upsert_search_attributes
in a workflow. -
Any docs updates needed? No