diff --git a/temporalio/workflow.py b/temporalio/workflow.py index 6ee25ad2..d00a8197 100644 --- a/temporalio/workflow.py +++ b/temporalio/workflow.py @@ -906,6 +906,8 @@ def upsert_search_attributes( DEPRECATED and if used, result in invalid key types on the typed_search_attributes property in the info. """ + if not attributes: + return temporalio.common._warn_on_deprecated_search_attributes(attributes) _Runtime.current().workflow_upsert_search_attributes(attributes)