Skip to content

Commit 2407e56

Browse files
committed
removed locationService interface use from data sources
1 parent 2488126 commit 2407e56

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

app/services/location/csbs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
BASE_URL = "https://facts.csbs.org/covid-19/covid19_county.csv"
1919

2020

21-
class CSBSLocationService(LocationService):
21+
class CSBSLocationService():
2222
"""
2323
Service for retrieving locations from csbs
2424
"""

app/services/location/jhu.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
BASE_URL = "https://raw.githubusercontent.com/CSSEGISandData/2019-nCoV/master/csse_covid_19_data/csse_covid_19_time_series/"
2525

2626

27-
class JhuLocationService(LocationService):
27+
class JhuLocationService():
2828
"""
2929
Service for retrieving locations from Johns Hopkins CSSE (https://github.com/CSSEGISandData/COVID-19).
3030
"""

app/services/location/nyt.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,14 @@
1111
from ...location.nyt import NYTLocation
1212
from ...models import Timeline
1313
from ...utils import httputils
14-
from . import LocationService
1514

1615
LOGGER = logging.getLogger("services.location.nyt")
1716

1817
# Base URL for fetching category.
1918
BASE_URL = "https://raw.githubusercontent.com/nytimes/covid-19-data/master/us-counties.csv"
2019

2120

22-
class NYTLocationService(LocationService):
21+
class NYTLocationService():
2322
"""
2423
Service for retrieving locations from New York Times (https://github.com/nytimes/covid-19-data).
2524
"""

0 commit comments

Comments
 (0)