Skip to content

ThreadSection

Base classes

Name Children Inherits
CodexBaseModel
codexed.models.base
Base model for all Codex API models.

⋔ Inheritance diagram

graph TD
  2193997056["v2_protocol.ThreadSection"]
  3116041069["base.CodexBaseModel"]
  3879467795["main.BaseModel"]
  2751680898["builtins.object"]
  3116041069 --> 2193997056
  3879467795 --> 3116041069
  2751680898 --> 3879467795

🛈 DocStrings

Bases: CodexBaseModel

An independently persisted, user-visible thread section.

Source code in src/codexed/models/v2_protocol.py
class ThreadSection(CodexBaseModel):
    """An independently persisted, user-visible thread section."""

    appearance: ThreadSectionAppearance | None = None
    """
    Optional appearance synchronized across clients.
    """
    id: str
    """
    Opaque UUIDv7 identity that remains stable when the section is renamed.
    """
    name: str
    """
    The current user-visible section name.
    """

appearance class-attribute instance-attribute

appearance: ThreadSectionAppearance | None = None

Optional appearance synchronized across clients.

id instance-attribute

id: str

Opaque UUIDv7 identity that remains stable when the section is renamed.

name instance-attribute

name: str

The current user-visible section name.

:fa-brands-github: Show source on GitHub