Skip to content

CancelRequestNotification

Base classes

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

⋔ Inheritance diagram

graph TD
  95970871439696["protocol.CancelRequestNotification"]
  95970868359040["base.AnnotatedObject"]
  95970855946400["base.Schema"]
  95970851503232["main.BaseModel"]
  125067848591872["builtins.object"]
  95970868359040 --> 95970871439696
  95970855946400 --> 95970868359040
  95970851503232 --> 95970855946400
  125067848591872 --> 95970851503232

🛈 DocStrings

Bases: AnnotatedObject

Parameters of $/cancel_request: cancel an ongoing request.

The request must be one the sender of the notification issued.

Source code in src/aclientp/schema/v2/protocol.py
class CancelRequestNotification(AnnotatedObject):
    """Parameters of ``$/cancel_request``: cancel an ongoing request.

    The request must be one the sender of the notification issued.
    """

    request_id: RequestId
    """The request to cancel."""

request_id instance-attribute

request_id: RequestId

The request to cancel.

:fa-brands-github: Show source on GitHub