Skip to content

Commit

Permalink
docs: fix formatting for source-python-http-tutorial (#23887)
Browse files Browse the repository at this point in the history
* fix: missing comma

* fix formatting

---------

Co-authored-by: Sajarin <sajarindider@gmail.com>
  • Loading branch information
sh4sh and sajarin authored Mar 16, 2023
1 parent 29c7c73 commit c46ff3e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def request_headers(
self, stream_state: Mapping[str, Any], stream_slice: Mapping[str, Any] = None, next_page_token: Mapping[str, Any] = None
) -> Mapping[str, Any]:
# The api requires that we include apikey as a header so we do that in this method
return {'apikey': self.apikey}
return {"apikey": self.apikey}

def request_params(
self,
Expand All @@ -47,7 +47,7 @@ def request_params(
next_page_token: Mapping[str, Any] = None,
) -> MutableMapping[str, Any]:
# The api requires that we include the base currency as a query param so we do that in this method
return {'base': self.base}
return {"base": self.base}

def parse_response(
self,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"type": "string",
"description": "API access key used to retrieve data from the Exchange Rates API.",
"airbyte_secret": true
}
},
"start_date": {
"type": "string",
"description": "Start getting data from that date.",
Expand Down

0 comments on commit c46ff3e

Please sign in to comment.