Skip to content

Commit 8fdf119

Browse files
committed
remove old events
1 parent 3a18a9d commit 8fdf119

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

src/allocation/domain/events.py

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

64

75
class Event:
86
pass
97

108

11-
@dataclass
12-
class BatchCreated(Event):
13-
ref: str
14-
sku: str
15-
qty: int
16-
eta: Optional[date] = None
17-
18-
19-
@dataclass
20-
class BatchQuantityChanged(Event):
21-
ref: str
22-
qty: int
23-
24-
25-
@dataclass
26-
class AllocationRequired(Event):
27-
orderid: str
28-
sku: str
29-
qty: int
30-
31-
329
@dataclass
3310
class OutOfStock(Event):
3411
sku: str

0 commit comments

Comments
 (0)