Skip to main content
Events are strongly typed and validated in both runtimes. Repository example files:
from typing import Any
from bubus import BaseEvent

class OrderCreatedEvent(BaseEvent[dict[str, Any]]):
    order_id: str
    customer_id: str
    total_amount: float
  • Python payload validation is powered by Pydantic models.
  • TypeScript payload and result validation is powered by Zod schemas.