Skip to content

CancelSessionNotification

Base classes

Name Children Inherits
AnnotatedObject
aclientp.schema.v2.base
A v2 object with the ``_meta`` extension point.

⋔ Inheritance diagram

graph TD
  95970871172640["sessions.CancelSessionNotification"]
  95970868359040["base.AnnotatedObject"]
  95970855946400["base.Schema"]
  95970851503232["main.BaseModel"]
  125067848591872["builtins.object"]
  95970868359040 --> 95970871172640
  95970855946400 --> 95970868359040
  95970851503232 --> 95970855946400
  125067848591872 --> 95970851503232

🛈 DocStrings

Bases: AnnotatedObject

Notification to cancel a session's foreground work and its prompts not yet inserted.

Source code in src/aclientp/schema/v2/sessions.py
class CancelSessionNotification(AnnotatedObject):
    """Notification to cancel a session's foreground work and its prompts not yet inserted."""

    session_id: SessionId
    """The ID of the session whose foreground work to cancel."""

session_id instance-attribute

session_id: SessionId

The ID of the session whose foreground work to cancel.

:fa-brands-github: Show source on GitHub