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