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 1c7e4ae commit 76dbfb6Copy full SHA for 76dbfb6
app/services/location/__init__.py
@@ -2,6 +2,13 @@
2
from abc import ABC, abstractmethod
3
4
5
+class LocationServices:
6
+ def __init__(self,location_services: list[LocationService]):
7
+ self.location_services = location_services
8
+
9
+ def add_service(self,location_service):
10
+ self.location_services.append(location_service)
11
12
class LocationService(ABC):
13
"""
14
Service for retrieving locations.
0 commit comments