11 lines
175 B
Python
11 lines
175 B
Python
from __future__ import annotations
|
|
|
|
from typing import Any
|
|
|
|
from pydantic import BaseModel
|
|
|
|
|
|
class ChatEvent(BaseModel):
|
|
event: str
|
|
data: dict[str, Any] | None = None
|