oscar_gonzalez
10/12/2021, 8:32 PM@property
def http_headers(self) -> dict:
result = super().http_headers
#api_token = "123ABC"
api_token = self.config.get("api_token")
auth = b64encode(f"{api_token}".encode()).decode()
result["Authorization"] = f"Basic {auth}"
return result
meltano.yml
config:
api_token: 123ABC
#start_date: '2010-01-01T00:00:00Z'
If a remove the commented linke in the client.py, it will connect without an issue.