Skip to content

Commit

Permalink
feat(googlesheets2): first pass at passing token (#198)
Browse files Browse the repository at this point in the history
added test for codecov
  • Loading branch information
testinnplayin committed Sep 2, 2020
1 parent 2412827 commit da69a6f
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@ def _run_fetch(self, url, access_token):
future = asyncio.ensure_future(self._get_data(url, access_token))
return loop.run_until_complete(future)

def set_secrets(self, secrets: Dict[str, str]):
"""Set the secrets from inside the main service."""
self.secrets = secrets

def _retrieve_data(self, data_source: GoogleSheets2DataSource) -> pd.DataFrame:
"""
Point of entry for data retrieval in the connector
Expand Down

0 comments on commit da69a6f

Please sign in to comment.