mirror of
https://gitlab.com/KKlochko/tui-rsync.git
synced 2026-08-12 17:57:43 +00:00
Add the ORM.
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
from .database_manager_port import DatabaseManagerPort
|
||||
|
||||
__all__ = ['DatabaseManagerPort']
|
||||
@@ -0,0 +1,11 @@
|
||||
from abc import ABC, abstractmethod
|
||||
|
||||
|
||||
class DatabaseManagerPort(ABC):
|
||||
@abstractmethod
|
||||
def get_connection(self):
|
||||
pass
|
||||
|
||||
@abstractmethod
|
||||
def create_tables(self):
|
||||
pass
|
||||
Reference in New Issue
Block a user