We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3466d2 commit 2488126Copy full SHA for 2488126
app/services/location/locationServiceAdapter.py
@@ -1,17 +1,10 @@
1
from services.location import LocationService
2
3
-"""
4
-Implement Adapter method for LocationService
5
6
-
7
8
class Adapter (LocationService):
9
- # def __init__(self):
10
- # self.locations
11
12
- # async def get_locations(self):
13
- # self.locations = await LocationService.get_locations()
14
+ """
+ Adapter that retrieves locations from data source (jhu, csbs, nyt)
15
async def get_all(self):
16
# Get the locations.
17
locations = await LocationService.get_locations()
0 commit comments