Skip to content

Commit

Permalink
fix: add type hints to revelen example route
Browse files Browse the repository at this point in the history
  • Loading branch information
lu-pl authored and katharinawuensche committed Nov 26, 2024
1 parent 7146321 commit 42ef1ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/releven_person_fastapi_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 42ef1ce

Please sign in to comment.