Spaces:
Sleeping
Sleeping
Download backend/api/deps.py from adindamochamad/codebuddy: direct link, hf CLI and curl.
- Browser
- Download file 257 Bytes
-
https://huggingface.co/spaces/adindamochamad/codebuddy/resolve/main/backend/api/deps.py
- Command line
-
hf download hf://spaces/adindamochamad/codebuddy/backend/api/deps.py
-
curl -L -o deps.py https://huggingface.co/spaces/adindamochamad/codebuddy/resolve/main/backend/api/deps.py
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)] | |