Skip to content

Commit

Permalink
Update covidcast.py
Browse files Browse the repository at this point in the history
Epidata.auth should be tuple with "epidata" as first element. This change is done in order to make client to send proper request to the backend
  • Loading branch information
dmytrotsko authored May 31, 2023
1 parent 072e317 commit b2a78c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Python-packages/covidcast-py/covidcast/covidcast.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def use_api_key(key):
<https://cmu-delphi.github.io/delphi-epidata/api/api_keys.html>`_
for details on our API key policies.
"""
Epidata.auth = key
Epidata.auth = ("epidata", key)

def signal(data_source: str,
signal: str, # pylint: disable=W0621
Expand Down

0 comments on commit b2a78c0

Please sign in to comment.