Skip to content

Commit

Permalink
Resolve Mypy issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ReubenFrankel committed Nov 12, 2024
1 parent 1fdb668 commit a852581
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions tap_google_sheets/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,7 @@ def get_next_page_token(

return next_page_token

def get_url_params(
self, context: Optional[dict], next_page_token: Optional[Any]
) -> Dict[str, Any]:
def get_url_params(self, context, next_page_token) -> Dict[str, Any]:
"""Return a dictionary of values to be used in URL parameterization."""
params: dict = {}
if next_page_token:
Expand All @@ -92,9 +90,7 @@ def get_url_params(
params["order_by"] = self.replication_key
return params

def prepare_request_payload(
self, context: Optional[dict], next_page_token: Optional[Any]
) -> Optional[dict]:
def prepare_request_payload(self, context, next_page_token) -> Optional[dict]:
"""Prepare the data payload for the REST API request.
By default, no payload will be sent (return None).
Expand Down

0 comments on commit a852581

Please sign in to comment.