feat(event): add SQLite outbound event store
This commit is contained in:
@@ -32,6 +32,8 @@ class OutboundEvent:
|
||||
timestamp: datetime = field(
|
||||
default_factory=lambda: datetime.now(timezone.utc)
|
||||
)
|
||||
status: EventStatus = field(default=EventStatus.PENDING)
|
||||
attempt_count: int = field(default=0)
|
||||
|
||||
def to_payload(self) -> dict[str, Any]:
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user