Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

## Upgrading

<!-- Here goes notes on how to upgrade from previous versions, including deprecations and what they should be replaced with -->
* The `page_size` and `page_token` attributes of the `PaginationParams` class are not optional anymore, as they aren't either at the protobuf level.

## New Features

Expand Down
16 changes: 8 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,27 +43,27 @@ dev-flake8 = [
"pydoclint == 0.5.9",
"pydocstyle == 6.3.0",
]
dev-formatting = ["black == 24.8.0", "isort == 5.13.2"]
dev-formatting = ["black == 24.10.0", "isort == 5.13.2"]
dev-mkdocs = [
"black == 24.8.0",
"black == 24.10.0",
"Markdown==3.7",
"mike == 2.1.3",
"mkdocs-gen-files == 0.5.0",
"mkdocs-literate-nav == 0.6.1",
"mkdocs-macros-plugin == 1.2.0",
"mkdocs-material == 9.5.39",
"mkdocstrings[python] == 0.26.1",
"mkdocstrings-python == 1.11.1",
"mkdocs-macros-plugin == 1.3.7",
"mkdocs-material == 9.5.43",
"mkdocstrings[python] == 0.26.2",
"mkdocstrings-python == 1.12.2",
"frequenz-repo-config[lib] == 0.10.0",
]
dev-mypy = [
"mypy == 1.11.2",
"mypy == 1.13.0",
"types-Markdown == 3.7.0.20240822",
# For checking the noxfile, docs/ script, and tests
"frequenz-client-common[dev-mkdocs,dev-noxfile,dev-pytest]",
]
dev-noxfile = [
"nox == 2024.4.15",
"nox == 2024.10.9",
"frequenz-repo-config[lib] == 0.10.0",
]
dev-pylint = [
Expand Down
4 changes: 2 additions & 2 deletions src/frequenz/client/common/pagination/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
class Params:
"""Parameters for paginating list requests."""

page_size: int | None = None
page_size: int
"""The maximum number of results to be returned per request."""

page_token: str | None = None
page_token: str
"""The token identifying a specific page of the list results."""

@classmethod
Expand Down
Loading