temporalio.client.WorkflowExecution
Info for a single workflow execution run.
| Async Method | memo |
Workflow's memo values, converted without type hints. |
| Async Method | memo |
Memo value for the given key, optional default, and optional type hint. |
| Class Variable | close |
When the workflow was closed if closed. |
| Class Variable | execution |
When this workflow run started or should start. |
| Class Variable | history |
Number of events in the history. |
| Class Variable | id |
ID for the workflow. |
| Class Variable | namespace |
Namespace for the workflow. |
| Class Variable | parent |
ID for the parent workflow if this was started as a child. |
| Class Variable | parent |
Run ID for the parent workflow if this was started as a child. |
| Class Variable | raw |
Underlying protobuf info. |
| Class Variable | root |
ID for the root workflow. |
| Class Variable | root |
Run ID for the root workflow. |
| Class Variable | run |
Run ID for this workflow run. |
| Class Variable | search |
Current set of search attributes if any. |
| Class Variable | start |
When the workflow was created. |
| Class Variable | status |
Status for the workflow. |
| Class Variable | task |
Task queue for the workflow. |
| Class Variable | typed |
Current set of search attributes if any. |
| Class Variable | workflow |
Type name for the workflow. |
| Property | data |
Data converter for the workflow. |
| Class Method | _from |
Undocumented |
| Class Variable | _context |
Undocumented |
Workflow'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. |
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. |
typetype | None | 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. |
When the workflow was closed if closed.
When this workflow run started or should start.
Number of events in the history.
Namespace for the workflow.
ID for the parent workflow if this was started as a child.
Run ID for the parent workflow if this was started as a child.
Underlying protobuf info.
ID for the root workflow.
Run ID for the root workflow.
Run ID for this workflow run.
Current set of search attributes if any.
Deprecated since version Use: typed_search_attributes instead.
When the workflow was created.
Task queue for the workflow.
Current set of search attributes if any.
Type name for the workflow.
Data converter for the workflow.