We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea4c6db commit a99fe7eCopy full SHA for a99fe7e
app/routers/v2.py
@@ -3,7 +3,7 @@
3
4
from fastapi import APIRouter, HTTPException, Request
5
6
-from ..data import DATA_SOURCES
+#from ..data import DATA_SOURCES
7
from ..models import LatestResponse, LocationResponse, LocationsResponse
8
9
V2 = APIRouter()
@@ -104,7 +104,5 @@ async def get_location_by_id(
104
105
@V2.get("/sources")
106
async def sources():
107
- """
108
- Retrieves a list of data-sources that are availble to use.
109
110
- return {"sources": list(DATA_SOURCES.keys())}
+ DATA_SOURCES = ["jhu", "csbs", "nyt"]
+ return {"sources": DATA_SOURCES}
0 commit comments