1
0
mirror of synced 2025-12-20 10:32:35 -05:00

docs: fix formatting for source-python-http-tutorial (#23887)

* fix: missing comma

* fix formatting

---------

Co-authored-by: Sajarin <sajarindider@gmail.com>
This commit is contained in:
sh4sh
2023-03-16 14:24:57 -04:00
committed by GitHub
parent 29c7c736f4
commit c46ff3e21c
2 changed files with 3 additions and 3 deletions

View File

@@ -38,7 +38,7 @@ class ExchangeRates(HttpStream):
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,
@@ -47,7 +47,7 @@ class ExchangeRates(HttpStream):
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,

View File

@@ -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.",