This commit is contained in:
2024-03-03 07:22:42 +03:00
parent 804b658c6e
commit d870f1cffe
27 changed files with 303 additions and 78 deletions

8
services/base.py Normal file
View File

@@ -0,0 +1,8 @@
from sqlalchemy.ext.asyncio import AsyncSession
class BaseService:
session: AsyncSession
def __init__(self, session: AsyncSession):
self.session = session