Skip to content

Commit

Permalink
improves formatting in error message
Browse files Browse the repository at this point in the history
Co-authored-by: Anton Burnashev <[email protected]>
  • Loading branch information
willi-mueller and burnash authored Aug 15, 2024
1 parent 44b8274 commit 982b448
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dlt/sources/helpers/rest_client/paginators.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def __init__(
super().__init__()
if total_path is None and maximum_value is None and not stop_after_empty_page:
raise ValueError(
"Either `total_path` or `maximum_value` or stop_after_empty_page must be provided."
"Either `total_path` or `maximum_value` or `stop_after_empty_page` must be provided."
)
self.param_name = param_name
self.current_value = initial_value
Expand Down

0 comments on commit 982b448

Please sign in to comment.