We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e44fac5 commit 59997c5Copy full SHA for 59997c5
temporalio/converter.py
@@ -1151,6 +1151,7 @@ def encode_search_attributes(
1151
DEPRECATED.
1152
api: API message to set converted attributes on.
1153
"""
1154
+ api.indexed_fields.clear() # Ensure that we at least create an empty map
1155
if isinstance(attributes, temporalio.common.TypedSearchAttributes):
1156
for typed_k, typed_v in attributes:
1157
api.indexed_fields[typed_k.name].CopyFrom(
0 commit comments