Event bus basics
This commit is contained in:
parent
1440ec51b7
commit
87e8af3f72
8 changed files with 88 additions and 16 deletions
|
|
@ -1,9 +1,11 @@
|
|||
from dataclasses import dataclass
|
||||
from typing import List
|
||||
|
||||
from app.events import Event
|
||||
|
||||
|
||||
@dataclass
|
||||
class WebhookEvent:
|
||||
class WebhookEvent(Event):
|
||||
_id: str
|
||||
commit: str
|
||||
message: str
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue