We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da05078 commit a00af9aCopy full SHA for a00af9a
1 file changed
src/allocation/domain/model.py
@@ -71,6 +71,10 @@ def __gt__(self, other):
71
return True
72
return self.eta > other.eta
73
74
+ @property
75
+ def orderids(self):
76
+ return {l.orderid for l in self._allocations}
77
+
78
def allocate(self, line: OrderLine):
79
if self.can_allocate(line):
80
self._allocations.add(line)
0 commit comments