Skip to content

Commit 4c23280

Browse files
committed
remove old events
1 parent 3eeb3cd commit 4c23280

1 file changed

Lines changed: 0 additions & 20 deletions

File tree

src/allocation/events.py

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,9 @@
11
# pylint: disable=too-few-public-methods
22
from dataclasses import dataclass
3-
from datetime import date
4-
from typing import Optional
53

64
class Event:
75
pass
86

9-
@dataclass
10-
class BatchCreated(Event):
11-
ref: str
12-
sku: str
13-
qty: int
14-
eta: Optional[date] = None
15-
16-
@dataclass
17-
class BatchQuantityChanged(Event):
18-
ref: str
19-
qty: int
20-
21-
@dataclass
22-
class AllocationRequired(Event):
23-
orderid: str
24-
sku: str
25-
qty: int
26-
277
@dataclass
288
class OutOfStock(Event):
299
sku: str

0 commit comments

Comments
 (0)