feat: вфыв
This commit is contained in:
8
backend/dependecies.py
Normal file
8
backend/dependecies.py
Normal file
@@ -0,0 +1,8 @@
|
||||
from typing import Annotated
|
||||
|
||||
from fastapi import Depends
|
||||
from sqlalchemy.ext.asyncio import AsyncSession
|
||||
|
||||
from backend.session import get_session
|
||||
|
||||
SessionDependency = Annotated[AsyncSession, Depends(get_session)]
|
||||
Reference in New Issue
Block a user