Skip to content

Commit

Permalink
πŸ› Set correct constraint for Page size
Browse files Browse the repository at this point in the history
  • Loading branch information
uriyyo committed Mar 10, 2021
1 parent 5bcde9b commit f9d9eac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fastapi_pagination/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def to_raw_params(self) -> RawParams:

class Page(BasePage[T], Generic[T]):
page: conint(ge=0) # type: ignore
size: conint(gt=0) # type: ignore
size: conint(ge=0) # type: ignore

__params_type__ = Params

Expand Down

0 comments on commit f9d9eac

Please sign in to comment.