class documentation
class ScheduleDescription: (source)
Constructor: ScheduleDescription._from_proto(id, desc, converter)
Description of a schedule.
Async Method | memo |
Schedule's memo values, converted without type hints. |
Async Method | memo |
Memo value for the given key, optional default, and optional type hint. |
Class Variable | data |
Data converter used for memo decoding. |
Class Variable | id |
ID of the schedule. |
Class Variable | info |
Information about the schedule. |
Class Variable | raw |
Raw description of the schedule. |
Class Variable | schedule |
Schedule details that can be mutated. |
Class Variable | search |
Search attributes on the schedule. |
Class Variable | typed |
Search attributes on the schedule. |
Static Method | _from |
Undocumented |
Schedule's memo values, converted without type hints.
Since type hints are not used, the default converted values will come
back. For example, if the memo was originally created with a dataclass,
the value will be a dict. To convert using proper type hints, use
memo_value
.
Returns | |
Mapping[ | Mapping of all memo keys and they values without type hints. |
@overload
@overload
@overload
@overload
@overload
async def memo_value(self, key:
(source)
¶
str
, default: AnyType
, *, type_hint: Type[ ParamType]
) -> Union[ AnyType, ParamType]
:Memo value for the given key, optional default, and optional type hint.
Parameters | |
key:str | Key to get memo value for. |
default:Any | Default to use if key is not present. If unset, a
KeyError is raised when the key does not exist. |
typeOptional[ | Type hint to use when converting. |
Returns | |
Any | Memo value, converted with the type hint if present. |
Raises | |
KeyError | Key not present and default not set. |
@staticmethod
def _from_proto(id:
def _from_proto(id:
str
, desc: temporalio.api.workflowservice.v1.DescribeScheduleResponse
, converter: temporalio.converter.DataConverter
) -> ScheduleDescription
:
(source)
¶
Undocumented