CursorUpdate
Base classes¶
| Name | Children | Inherits |
|---|---|---|
| AnnotatedObject aclientp.schema.base Base class for generated models. |
⋔ Inheritance diagram¶
graph TD
95970862141632["session_updates.CursorUpdate"]
95970862258240["base.AnnotatedObject"]
95970862254416["base.Schema"]
95970851503232["main.BaseModel"]
125067848591872["builtins.object"]
95970862258240 --> 95970862141632
95970862254416 --> 95970862258240
95970851503232 --> 95970862254416
125067848591872 --> 95970851503232
🛈 DocStrings¶
Bases: AnnotatedObject
UNSTABLE: A session cursor was announced or its capabilities changed.
Upserts by cursor_id. The first update for a cursor MUST include anchor,
which is fixed afterwards; later updates change only capabilities.
Only sent if the client advertised session.cursors.
Source code in src/aclientp/schema/session_updates.py
anchor
class-attribute
instance-attribute
¶
anchor: CursorAnchor | None = None
Where the cursor is. Required on the first update for a cursor.
capabilities
class-attribute
instance-attribute
¶
capabilities: CursorCapabilities | None = None
The methods that currently accept this cursor; a new cursor starts with none.