Skip to content

Commit 2488126

Browse files
committed
added comments to Adapter class
1 parent c3466d2 commit 2488126

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

app/services/location/locationServiceAdapter.py

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,10 @@
11
from services.location import LocationService
22

3-
"""
4-
Implement Adapter method for LocationService
5-
"""
6-
73

84
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-
5+
"""
6+
Adapter that retrieves locations from data source (jhu, csbs, nyt)
7+
"""
158
async def get_all(self):
169
# Get the locations.
1710
locations = await LocationService.get_locations()

0 commit comments

Comments
 (0)