Classes
| Name | Kind |
|---|---|
Nevo | Client. |
Event | Frozen dataclass. |
Channel | Frozen dataclass. |
WebhookData | Frozen dataclass. |
EmailData | Frozen dataclass. |
Attachment | Frozen dataclass. |
ReplyReceipt | Frozen dataclass. |
Exceptions
See Errors for the tree.
NevoError, AuthError, ConnectionError, HandlerTimeoutError, ReplyError, UnsupportedChannelError, NetworkError, ServerError, RequestError.
Nevo
Nevo(
token: str, # required; must start with nvo_live_
handler_timeout: float = 30.0,
reconnect_max_backoff: float = 30.0,
http_timeout: float = 10.0,
http_max_retries: int = 3,
logger: logging.Logger | None = None,
)
Methods:
on_event() -> decorator— register the handler (one per client)async run()— connect and stream foreverrun_sync()— blocking wrapper aroundrun()async reply(event, *, text, html?, subject?, cc?, bcc?) -> ReplyReceiptasync close()— stop and release resourcesasync __aenter__/async __aexit__— context manager
Full type-stubs ship with the package (py.typed marker). Tooltips in your editor should match this page.