mirror of
https://github.com/resf/distro-tools.git
synced 2024-11-24 06:01:26 +00:00
Remove print from compat params
This commit is contained in:
parent
d1e15bbd55
commit
ca132958b0
@ -34,7 +34,6 @@ class CompatParams(BaseModel):
|
|||||||
limit: int = Query(20, ge=1, le=100, description="Page size")
|
limit: int = Query(20, ge=1, le=100, description="Page size")
|
||||||
|
|
||||||
def get_offset(self) -> int:
|
def get_offset(self) -> int:
|
||||||
print(self.limit * self.page)
|
|
||||||
return self.limit * self.page
|
return self.limit * self.page
|
||||||
|
|
||||||
def get_size(self) -> int:
|
def get_size(self) -> int:
|
||||||
|
Loading…
Reference in New Issue
Block a user