DbUnify.SQLite3.sync.Live package
Submodules
DbUnify.SQLite3.sync.Live.LiveEvents module
- DbUnify.SQLite3.sync.Live.LiveEvents.add_event_handler(event_name: str, handler: Callable)[source]
Add a handler function for a specific event.
DbUnify.SQLite3.sync.Live.LiveException module
- exception DbUnify.SQLite3.sync.Live.LiveException.DatabaseAccessException(message: str)[source]
Bases:
LiveManagerExceptionException raised for errors accessing the database.
- exception DbUnify.SQLite3.sync.Live.LiveException.EventHandlingException(message: str)[source]
Bases:
LiveManagerExceptionException raised for errors in event handling.
- exception DbUnify.SQLite3.sync.Live.LiveException.LiveManagerException[source]
Bases:
ExceptionBase exception class for LiveManager.
- exception DbUnify.SQLite3.sync.Live.LiveException.LogWriteException(message: str)[source]
Bases:
LiveManagerExceptionException raised for errors writing to the log file.
- exception DbUnify.SQLite3.sync.Live.LiveException.SchemaChangeException(message: str)[source]
Bases:
LiveManagerExceptionException raised for errors detecting schema changes.
DbUnify.SQLite3.sync.Live.LiveManager module
- class DbUnify.SQLite3.sync.Live.LiveManager.LiveManager(db_name: str, event_ttl: float, cache_ttl: int = 300)[source]
Bases:
object