FilesystemUnitOfWork module (ska_db_oda.unit_of_work.filesystemunitofwork)

FilesystemUnitOfWork adds unit of work transaction support to the FilesystemRepository.

class ska_db_oda.unit_of_work.filesystemunitofwork.FilesystemUnitOfWork(base_working_dir: str | PathLike = PosixPath('/var/lib/oda'))[source]

Implementation of the AbstractUnitOfWork which persists the data in the filesystem

commit() None[source]

Implementation of the AbstractUnitOfWork method.

See commit() docstring for details

rollback() None[source]

Implementation of the AbstractUnitOfWork method.

See rollback() docstring for details