Skip to content

Commit

Permalink
Update src/frequenz/client/common/pagination/__init__.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 4da8ab5 commit 03443ca
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions src/frequenz/client/common/pagination/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,3 @@
# Copyright © 2023 Frequenz Energy-as-a-Service GmbH

"""Common types to handle pagination of request results."""


# TODO(cookiecutter): Remove this function
def delete_me(*, blow_up: bool = False) -> bool:
"""Do stuff for demonstration purposes.
Args:
blow_up: If True, raise an exception.
Returns:
True if no exception was raised.
Raises:
RuntimeError: if blow_up is True.
"""
if blow_up:
raise RuntimeError("This function should be removed!")
return True

0 comments on commit 03443ca

Please sign in to comment.