feat(backend): create cli to interact with db
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
# database/__init__.py
|
||||
from .connection import DatabaseConnection
|
||||
from .base_repository import BaseRepository
|
||||
from backend.db.connection import DatabaseConnection
|
||||
from backend.db.base_repository import BaseRepository
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from typing import TypeVar, Generic, List, Sequence, Any, Mapping, Tuple
|
||||
from .connection import DatabaseConnection
|
||||
from backend.db.connection import DatabaseConnection
|
||||
|
||||
# Generic type for the model (your dataclasses such as Member, Service, …)
|
||||
T = TypeVar("T")
|
||||
|
||||
Reference in New Issue
Block a user