Skip to content

SessionMessageCursorAnchor

Base classes

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

⋔ Inheritance diagram

graph TD
  95970862514624["cursors.SessionMessageCursorAnchor"]
  95970859744112["cursors.CursorMessageAnchor"]
  95970862258240["base.AnnotatedObject"]
  95970862254416["base.Schema"]
  95970851503232["main.BaseModel"]
  125067848591872["builtins.object"]
  95970859744112 --> 95970862514624
  95970862258240 --> 95970859744112
  95970862254416 --> 95970862258240
  95970851503232 --> 95970862254416
  125067848591872 --> 95970851503232

🛈 DocStrings

Bases: CursorMessageAnchor

UNSTABLE: The cursor is next to a session-directed message.

Source code in src/aclientp/schema/cursors.py
class SessionMessageCursorAnchor(CursorMessageAnchor):
    """**UNSTABLE**: The cursor is next to a session-directed message."""

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

:fa-brands-github: Show source on GitHub