Skip to content

DeleteSessionRequest

Base classes

Name Children Inherits
Request
aclientp.schema.base
Base request model.

⋔ Inheritance diagram

graph TD
  95970860252624["client_requests.DeleteSessionRequest"]
  95970858197488["base.Request"]
  95970862258240["base.AnnotatedObject"]
  95970862254416["base.Schema"]
  95970851503232["main.BaseModel"]
  125067848591872["builtins.object"]
  95970858197488 --> 95970860252624
  95970862258240 --> 95970858197488
  95970862254416 --> 95970862258240
  95970851503232 --> 95970862254416
  125067848591872 --> 95970851503232

🛈 DocStrings

Bases: Request

Request parameters for deleting a session from session/list.

Only available if the Agent supports the session.delete capability.

Source code in src/aclientp/schema/client_requests.py
class DeleteSessionRequest(Request):
    """Request parameters for deleting a session from ``session/list``.

    Only available if the Agent supports the ``session.delete`` capability.
    """

    session_id: str
    """The ID of the session to delete."""

session_id instance-attribute

session_id: str

The ID of the session to delete.

:fa-brands-github: Show source on GitHub