temporalio.common.SearchAttributeKey
class documentation

Typed search attribute key representation.

Use one of the for static methods here to create a key.

Create a 'Bool' search attribute type.

Create a 'Datetime' search attribute type.

Create a 'Double' search attribute type.

Create an 'Int' search attribute type.

Create a 'Keyword' search attribute type.

def for_keyword_list(name: str) -> SearchAttributeKey[Sequence[str]]: (source)

Create a 'KeywordList' search attribute type.

Create a 'Text' search attribute type.

Create a search attribute update to set the given value on this key.

Create a search attribute update to unset the value on this key.

Get the server index typed of the key

origin_value_type: type = (source)

Get the Python type of value for the key without generics.

Get the Python type of value for the key.

This may contain generics which cannot be used in isinstance. origin_value_type can be used instead.

def _from_metadata_type(name: str, metadata_type: str) -> SearchAttributeKey | None: (source)

Undocumented

def _guess_from_untyped_values(name: str, vals: SearchAttributeValues) -> SearchAttributeKey | None: (source)

Undocumented

_metadata_type: str = (source)

Undocumented