Skip to content

UserMessageCursorAnchor

Base classes

Name Children Inherits
CursorMessageAnchor
aclientp.schema.v2.cursors
**UNSTABLE**: A cursor anchored to a message; ``type`` names the kind of message.

⋔ Inheritance diagram

graph TD
  95970870574640["cursors.UserMessageCursorAnchor"]
  95970868601056["cursors.CursorMessageAnchor"]
  95970868359040["base.AnnotatedObject"]
  95970855946400["base.Schema"]
  95970851503232["main.BaseModel"]
  125067848591872["builtins.object"]
  95970868601056 --> 95970870574640
  95970868359040 --> 95970868601056
  95970855946400 --> 95970868359040
  95970851503232 --> 95970855946400
  125067848591872 --> 95970851503232

🛈 DocStrings

Bases: CursorMessageAnchor

UNSTABLE: The cursor is next to a user message.

Source code in src/aclientp/schema/v2/cursors.py
class UserMessageCursorAnchor(CursorMessageAnchor):
    """**UNSTABLE**: The cursor is next to a user message."""

    type: Literal["user_message"] = Field(default="user_message", init=False)

:fa-brands-github: Show source on GitHub