Skip to content

NotificationRequest

Base classes

Name Children Inherits
BaseModel
pydantic.main
!!! abstract "Usage Documentation"

⋔ Inheritance diagram

graph TD
  95970866095632["models.NotificationRequest"]
  95970851503232["main.BaseModel"]
  125067848591872["builtins.object"]
  95970851503232 --> 95970866095632
  125067848591872 --> 95970851503232

🛈 DocStrings

Bases: BaseModel

Request to send a notification.

Source code in src/aclientp/agent/implementations/debug_server/models.py
class NotificationRequest(BaseModel):
    """Request to send a notification."""

    session_id: str = Field(description="Target session ID")
    notification_type: str = Field(description="Type of notification to send")
    data: dict[str, Any] = Field(default_factory=dict, description="Notification data")

:fa-brands-github: Show source on GitHub