Skip to content

Commit 9077f5a

Browse files
committed
improve comment
1 parent 55bb97d commit 9077f5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

openlibrary/fastapi/search.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
ListQuery = Annotated[list[str], Query(default_factory=list)]
1919

2020

21-
# Ideally this will go in a models files
21+
# Ideally this will go in a models files, we'll move it for the 2nd endpoint
2222
class Pagination(BaseModel):
2323
limit: int = 100
2424
offset: int | None = None
@@ -31,7 +31,7 @@ def model_post_init(self, _):
3131
self.page = self.page or 1
3232

3333

34-
# Ideally this will go in a dependencies file
34+
# Ideally this will go in a dependencies file, we'll move it for the 2nd endpoint
3535
def pagination(
3636
limit: Annotated[int, Query(ge=1)] = 100,
3737
offset: Annotated[int | None, Query(ge=0)] = None,

0 commit comments

Comments
 (0)