AbstractUnitOfWork module (ska_db_oda.unit_of_work.abstractunitofwork)
This module contains the UnitOfWork Abstract Base Class.
All UnitOfWork implementations to conform to this interface.
- class ska_db_oda.unit_of_work.abstractunitofwork.AbstractUnitOfWork[source]
Provides the interface to store or retrieve a group of Scheduling Block Objects.
Commits or rollsback a series of database transactions as an atomic operation
- abstract commit() None [source]
Commits the Unit of Work.
- Raises:
ValueError – if the validation of committed sbds or the metadata fails