minos.saga.executions.status module¶
- class minos.saga.executions.status.SagaStatus(value)[source]¶
Bases:
enum.Enum
Saga Status class.
- Created = 'created'¶
- Errored = 'errored'¶
- Finished = 'finished'¶
- Paused = 'paused'¶
- Running = 'running'¶
- classmethod from_raw(raw)[source]¶
Build a new instance from raw.
- Parameters
raw (
typing.Union
[str
,minos.saga.executions.status.SagaStatus
]) – The raw representation of the instance.- Return type
- Returns
A
SagaStatus
instance.
- property raw: str¶
Compute the raw representation of the instance.
- Return type
str
- Returns
A
str
instance.
- class minos.saga.executions.status.SagaStepStatus(value)[source]¶
Bases:
enum.Enum
Saga Step Status class.
- Created = 'created'¶
- ErroredByOnExecute = 'errored-by-on-execute'¶
- ErroredOnError = 'errored-on-error'¶
- ErroredOnExecute = 'errored-on-execute'¶
- ErroredOnFailure = 'errored-on-failure'¶
- ErroredOnSuccess = 'errored-on-success'¶
- Finished = 'finished'¶
- FinishedOnExecute = 'finished-on-execute'¶
- PausedByOnExecute = 'paused-by-on-execute'¶
- PausedOnFailure = 'paused-on-failure'¶
- RunningOnError = 'running-on-error'¶
- RunningOnExecute = 'running-on-execute'¶
- RunningOnFailure = 'running-on-failure'¶
- RunningOnSuccess = 'running-on-success'¶
- classmethod from_raw(raw)[source]¶
Build a new instance from raw.
- Parameters
raw (
typing.Union
[str
,minos.saga.executions.status.SagaStepStatus
]) – The raw representation of the instance.- Return type
- Returns
A
SagaStepStatus
instance.
- property raw: str¶
Compute the raw representation of the instance.
- Return type
str
- Returns
A
str
instance.