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 ae98131 commit 8e957d2Copy full SHA for 8e957d2
app/location/__init__.py
@@ -5,6 +5,18 @@
5
6
7
8
+class Locations:
9
+ def __init__(self,locations: list[Location]):
10
+ self.locations = locations
11
+
12
+ def add_service(self,location):
13
+ self.locations.append(location)
14
15
+ def get_location(self):
16
+ return locations
17
18
19
20
# pylint: disable=redefined-builtin,invalid-name
21
class Location: # pylint: disable=too-many-instance-attributes
22
"""
0 commit comments