Files
vpsx-fast/app/dependencies/__init__.py

21 lines
327 B
Python
Raw Normal View History

2025-08-29 18:19:46 +02:00
from typing import Annotated
from fastapi import Depends
import alchemy
from .engine import engine
from .session import get_session
from routers.user import get_current_active_user
ACTIVE_USER = Annotated[alchemy.User, Depends(get_current_active_user)]
__all__ = [
'engine',
'ACTIVE_USER',
'get_session',
]