minos.saga.definitions.operations
Classes
Saga Step Operation class. |
- class SagaOperation[source]
Bases:
Generic
[T
]Saga Step Operation class.
- __init__(callback, parameters=None, **kwargs)[source]
- Parameters
callback (T) –
parameters (Optional[Union[dict, SagaContext]]) –
- property raw: dict[str, Any]
Generate a rew representation of the instance.
- Returns
A
dict
instance.
- property parameterized: bool
parameterized getter.
- Returns
True
if parameters are provided orFalse
otherwise.