codebuddy / backend /api /deps.py
adindamochamad's picture
Initial Gradio ZeroGPU demo Space
73268e9 verified
Raw History Blame Contribute Delete
257 Bytes
"""Dependency bersama untuk route."""
from typing import Annotated
from fastapi import Depends
from sqlalchemy.ext.asyncio import AsyncSession
from utils.database import dapatkan_sesi_db
SesiDatabase = Annotated[AsyncSession, Depends(dapatkan_sesi_db)]