Add support for local files and optimized caching

Signed-off-by: Felipe Cardoso <felipe.cardoso@hotmail.it>
This commit is contained in:
2025-01-23 09:27:40 +01:00
parent df5b42b9c9
commit 36ce6ac5ef
4 changed files with 88 additions and 47 deletions

View File

@@ -10,7 +10,7 @@ router = APIRouter()
@router.get("/list", response_model=List[Sample])
async def list_samples(
request: Request,
limit: int = Query(20, ge=1, le=100),
limit: int = Query(20, ge=1, le=1000),
offset: int = Query(0, ge=0)
):
"""