We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ed67ed commit 3987b3cCopy full SHA for 3987b3c
app/data/__init__.py
@@ -9,9 +9,9 @@ class DATA_SOURCES:
9
DATA_SOURCES = {}
10
11
def data(self)
12
- self.data_Sources['jhu'] = JhuLocationService()
13
- self.data_Sources['csbs'] = CSBSLocationService()
14
- self.data_Sources['nyt'] = NYTLocationService()
+ self.DATA_SOURCES['jhu'] = JhuLocationService()
+ self.DATA_SOURCES['csbs'] = CSBSLocationService()
+ self.DATA_SOURCES['nyt'] = NYTLocationService()
15
16
def data_source(self, source : str)-> LocationService:
17
- return self.dataSource.get(source.lower())
+ return self.DATA_SOURCES.get(source.lower())
0 commit comments