Skip to content

Commit

Permalink
Address dynamic return types
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon committed Aug 1, 2023
1 parent be80c3b commit 839dfd0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ class {{ cookiecutter.source_name }}Stream({{ cookiecutter.stream_type }}Stream)
def get_url_params(
self,
context: dict | None, # noqa: ARG002
next_page_token: Any | None,
next_page_token: Any | None, # noqa: ANN401
) -> dict[str, Any]:
"""Return a dictionary of values to be used in URL parameterization.

Expand All @@ -181,7 +181,7 @@ class {{ cookiecutter.source_name }}Stream({{ cookiecutter.stream_type }}Stream)
def prepare_request_payload(
self,
context: dict | None, # noqa: ARG002
next_page_token: Any | None, # noqa: ARG002
next_page_token: Any | None, # noqa: ARG002, ANN401
) -> dict | None:
"""Prepare the data payload for the REST API request.

Expand Down

0 comments on commit 839dfd0

Please sign in to comment.