This commit is contained in:
2025-03-10 15:10:03 +08:00
parent cb388ce6b3
commit 527dad1dc7
17763 changed files with 13421 additions and 1 deletions
+9
View File
@@ -0,0 +1,9 @@
from typing import Annotated
from redis import Redis
from sqlalchemy.orm import Session
from fastapi import Depends
from database.connect import get_db,get_redis
SessionDep = Annotated[Session, Depends(get_db)]
RedisDep = Annotated[Redis, Depends(get_redis)]