uow and di basic implementation

This commit is contained in:
2024-03-06 03:59:16 +03:00
parent 8d93c964e1
commit f9631a712b
11 changed files with 50 additions and 19 deletions

View File

@@ -1,6 +1,6 @@
from api.model.user import User
import api.models as models
from api.uow.repository import SQLAlchemyRepository
class UserRepository(SQLAlchemyRepository):
model = User
model = models.User