From a48ae1a4ed503b82c6d1056c4839a3126e0e4b21 Mon Sep 17 00:00:00 2001 From: Lukas Plank Date: Tue, 26 Nov 2024 09:18:18 +0100 Subject: [PATCH] fix: add type hints to revelen example route --- examples/releven_person_fastapi_example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/releven_person_fastapi_example.py b/examples/releven_person_fastapi_example.py index 80f61e6..15c31f0 100644 --- a/examples/releven_person_fastapi_example.py +++ b/examples/releven_person_fastapi_example.py @@ -66,5 +66,5 @@ class R11PersonModel(BaseModel): @app.get("/") -def base(page=1, size=100) -> Page[R11PersonModel]: +def base(page: int = 1, size: int = 100) -> Page[R11PersonModel]: return adapter.query(page=page, size=size)