Skip to content

Commit

Permalink
Merge pull request #629 from cmu-delphi/api_keys_authentication_fix
Browse files Browse the repository at this point in the history
Fix Epidata.auth in covidcast.py
  • Loading branch information
krivard committed Jun 1, 2023
2 parents 072e317 + 1703b90 commit fd8463a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Python-packages/covidcast-py/covidcast/covidcast.py
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
2 changes: 1 addition & 1 deletion Python-packages/covidcast-py/setup.py
Expand Up @@ -22,7 +22,7 @@
install_requires=[
"pandas<2",
"requests",
"delphi-epidata>=0.0.11",
"delphi-epidata>=4.1.1",
"geopandas",
"matplotlib",
"numpy",
Expand Down

0 comments on commit fd8463a

Please sign in to comment.