class documentation
class SearchAttributeKey(ABC, Generic[
Known subclasses: temporalio.common._SearchAttributeKey
Typed search attribute key representation.
Use one of the for static methods here to create a key.
Static Method | for |
Create a 'Bool' search attribute type. |
Static Method | for |
Create a 'Datetime' search attribute type. |
Static Method | for |
Create a 'Double' search attribute type. |
Static Method | for |
Create an 'Int' search attribute type. |
Static Method | for |
Create a 'Keyword' search attribute type. |
Static Method | for |
Create a 'KeywordList' search attribute type. |
Static Method | for |
Create a 'Text' search attribute type. |
Method | value |
Create a search attribute update to set the given value on this key. |
Method | value |
Create a search attribute update to unset the value on this key. |
Property | indexed |
Get the server index typed of the key |
Property | name |
Get the name of the key. |
Property | origin |
Get the Python type of value for the key without generics. |
Property | value |
Get the Python type of value for the key. |
Static Method | _from |
Undocumented |
Static Method | _guess |
Undocumented |
Property | _metadata |
Undocumented |
def value_set(self, value:
SearchAttributeValueType
) -> SearchAttributeUpdate[ SearchAttributeValueType]
:
(source)
¶
Create a search attribute update to set the given value on this key.
overridden in
temporalio.common._SearchAttributeKey
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.
@staticmethod
def _from_metadata_type(name:
def _from_metadata_type(name:
str
, metadata_type: str
) -> Optional[ SearchAttributeKey]
:
(source)
¶
Undocumented
@staticmethod
def _guess_from_untyped_values(name:
def _guess_from_untyped_values(name:
str
, vals: SearchAttributeValues
) -> Optional[ SearchAttributeKey]
:
(source)
¶
Undocumented