Files
pepperplus-cb/src/control_backend/schemas/events.py
2026-01-16 15:35:41 +01:00

15 lines
350 B
Python

from pydantic import BaseModel
class ButtonPressedEvent(BaseModel):
"""
Represents a button press event from the UI.
:ivar type: The type of event (e.g., 'speech', 'gesture', 'override').
:ivar context: Additional data associated with the event (e.g., speech text, gesture name,
or ID).
"""
type: str
context: str