Skip to content

Commit 2de2ac7

Browse files
committed
apply bridge pattern under app/services/location directory. class csbs.py, jhu.py, nyt.py implements the interface DataSourcesInterface in sourcelocations.py. Add BasicLocationService class to implement the LocationService class. LocationService class in __init__.py get a new constructor method. And apply BasicLocationService in app/data/__init__.py
1 parent d2bdb0a commit 2de2ac7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/services/location/basiclocationservice.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""app.services.location.csbs.py"""
1+
"""app.services.location.basiclocationservice.py"""
22

33
from . import LocationService
44

0 commit comments

Comments
 (0)