Skip to content

Commit

Permalink
Update src/frequenz/client/common/pagination/pagination.py
Browse files Browse the repository at this point in the history
Co-authored-by: Leandro Lucarella <luca@llucax.com>
Signed-off-by: flora-hofmann-frequenz <88315331+flora-hofmann-frequenz@users.noreply.github.com>
  • Loading branch information
flora-hofmann-frequenz and llucax authored Feb 13, 2024
1 parent 188c326 commit 0aec7c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frequenz/client/common/pagination/pagination.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 0aec7c8

Please sign in to comment.