Skip to content

HooksListParams

Base classes

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

⋔ Inheritance diagram

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

🛈 DocStrings

Bases: CodexBaseModel

Source code in src/codexed/models/v2_protocol.py
class HooksListParams(CodexBaseModel):
    cwds: list[str] | None = None
    """
    Working directories to inspect when no thread is specified. An empty list uses the session cwd.
    """
    thread_id: str | None = None
    """
    List a loaded thread's hooks, including its selected environments. Omit `cwds` in this mode.
    """

cwds class-attribute instance-attribute

cwds: list[str] | None = None

Working directories to inspect when no thread is specified. An empty list uses the session cwd.

thread_id class-attribute instance-attribute

thread_id: str | None = None

List a loaded thread's hooks, including its selected environments. Omit cwds in this mode.

:fa-brands-github: Show source on GitHub