minos.saga.executions.executors.abc module¶
- class minos.saga.executions.executors.abc.Executor(execution_uuid, *args, **kwargs)[source]¶
Bases:
object
Executor class.
- async exec(operation, *args, **kwargs)[source]¶
Execute the given operation.
- Parameters
operation (
minos.saga.definitions.operations.SagaOperation
) – The operation to be executed.args – Additional positional arguments.
kwargs – Additional named arguments.
- Return type
typing.Any
- Returns
The execution response.