minos.saga.definitions.steps.abc
Classes
Saga step class. |
- class SagaStep[source]
Bases:
ABC
Saga step class.
- conditional_step(*args, **kwargs)[source]
Create a new conditional step in the
Saga
.- Parameters
args – Additional positional parameters.
kwargs – Additional named parameters.
- Returns
A new
SagaStep
instance.- Return type
- local_step(*args, **kwargs)[source]
Create a new local step in the
Saga
.- Parameters
args – Additional positional parameters.
kwargs – Additional named parameters.
- Returns
A new
SagaStep
instance.- Return type
- step(*args, **kwargs)[source]
Create a new step in the
Saga
.- Parameters
args – Additional positional parameters.
kwargs – Additional named parameters.
- Returns
A new
SagaStep
instance.- Return type
- remote_step(*args, **kwargs)[source]
Create a new remote step in the
Saga
.- Parameters
args – Additional positional parameters.
kwargs – Additional named parameters.
- Returns
A new
SagaStep
instance.- Return type
- commit(*args, **kwargs)[source]
Commit the current
SagaStep
on theSaga
.- Parameters
args – Additional positional arguments.
kwargs – Additional named arguments.
- Returns
A
Saga
instance.- Return type