From 0aec7c8f115ca54a507c14b63c9391146b7e697a Mon Sep 17 00:00:00 2001 From: flora-hofmann-frequenz <88315331+flora-hofmann-frequenz@users.noreply.github.com> Date: Tue, 13 Feb 2024 11:18:46 +0200 Subject: [PATCH] Update src/frequenz/client/common/pagination/pagination.py Co-authored-by: Leandro Lucarella Signed-off-by: flora-hofmann-frequenz <88315331+flora-hofmann-frequenz@users.noreply.github.com> --- src/frequenz/client/common/pagination/pagination.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frequenz/client/common/pagination/pagination.py b/src/frequenz/client/common/pagination/pagination.py index 06278bb..6fe7f66 100644 --- a/src/frequenz/client/common/pagination/pagination.py +++ b/src/frequenz/client/common/pagination/pagination.py @@ -44,7 +44,7 @@ def from_proto(cls, pagination_params: PBPaginationParams) -> Self: page_token=pagination_params.page_token, ) - def to_pb(self) -> PBPaginationParams: + def to_proto(self) -> PBPaginationParams: """Convert a PaginationParams object to protobuf PaginationParams. Returns: