We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb01eb5 commit f253d66Copy full SHA for f253d66
integrations/server/test_covidcast_endpoints.py
@@ -39,6 +39,7 @@ def _fetch(self, endpoint="/", is_compatibility=False, **params):
39
# make the request
40
if is_compatibility:
41
url = BASE_URL_OLD
42
+ # only set endpoint if it's not already set
43
params.setdefault("endpoint", "covidcast")
44
if params.get("source"):
45
params.setdefault("data_source", params.get("source"))
0 commit comments