Skip to content

Commit 162e120

Browse files
committed
remove unused @Property skus
1 parent ba3fbe4 commit 162e120

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

‎domain_model.py‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@ def __init__(self, d, order):
44
self.order = order
55
super().__init__(d)
66

7-
@property
8-
def skus(self):
9-
return self.keys()
10-
117
@staticmethod
128
def for_source(order, source):
139
return Allocation({
@@ -38,10 +34,6 @@ def apply(self):
3834

3935
class Order(dict):
4036

41-
@property
42-
def skus(self):
43-
return self.keys()
44-
4537
def allocate(self, stock, shipments):
4638
self.allocation = Allocation.for_order(self, stock, shipments)
4739
self.allocation.apply()

0 commit comments

Comments
 (0)