users and status working

This commit is contained in:
Bernhard Radermacher (hakisto)
2025-08-29 18:19:46 +02:00
commit 5300c35429
22 changed files with 856 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
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',
]