Skip to content

feat: define python client search attribute types#66

Open
timl3136 wants to merge 2 commits intocadence-workflow:mainfrom
timl3136:search_attribute-1
Open

feat: define python client search attribute types#66
timl3136 wants to merge 2 commits intocadence-workflow:mainfrom
timl3136:search_attribute-1

Conversation

@timl3136
Copy link
Member

@timl3136 timl3136 commented Feb 5, 2026

What changed?
defined the search attribute types in python client

Why?
in order to use search attribute in client, we need proper typing for search attributes.

How did you test it?
Unit test, it's not integrated with client yet.

Potential risks

Release notes

Documentation Changes

Signed-off-by: Tim Li <ltim@uber.com>
Signed-off-by: Tim Li <ltim@uber.com>
CADENCE_CHANGE_VERSION = "CadenceChangeVersion"


class SearchAttributeConverter:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we don't need this. My understanding is we only expose APIs like UpsertSearchAttributes. We can use python generics to get the type hints and thus use the dataconverter for actual convertion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants