from fastapi import APIRouter, Depends, FastAPI, Request, Response
from fastapi.responses import JSONResponse
from pydantic import BaseModel
from dependencies.db import DB, get_db
router = APIRouter()


@router.get('')
def test_get(db: get_db=Depends(get_db)):
    return db

05b62778821a3abd0248b2dcdc641fd81fed0919
<mask token>

<mask token>


@router.get('')
def test_get(db: get_db=Depends(get_db)):
    return db

<mask token>
router = APIRouter()


@router.get('')
def test_get(db: get_db=Depends(get_db)):
    return db

from fastapi import APIRouter, Depends, FastAPI, Request, Response
from fastapi.responses import JSONResponse
from pydantic import BaseModel
from dependencies.db import DB, get_db
router = APIRouter()


@router.get('')
def test_get(db: get_db=Depends(get_db)):
    return db
