minos.saga.executions.status

Classes

SagaStatus

Saga Status class.

SagaStepStatus

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

SagaStatus

property raw: str

Compute the raw representation of the instance.

Returns

A str instance.

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

SagaStepStatus

property raw: str

Compute the raw representation of the instance.

Returns

A str instance.