minos.saga.executions.repositories.database.factories
Classes
Saga Execution Database Operation Factory class. |
- class SagaExecutionDatabaseOperationFactory[source]
Bases:
DatabaseOperationFactory
,ABC
Saga Execution Database Operation Factory class.
- abstract build_store(uuid, **kwargs)[source]
Build the database operation to store a saga execution.
- Parameters
uuid (UUID) – The identifier of the saga execution.
kwargs – The attributes of the saga execution.
- Returns
A
DatabaseOperation
instance.- Return type
- abstract build_load(uuid)[source]
Build the database operation to load a saga execution.
- Parameters
uuid (UUID) – The identifier of the saga execution.
- Returns
A
DatabaseOperation
instance.- Return type