Skip to content

FsReadFileParams

Base classes

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

⋔ Inheritance diagram

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

🛈 DocStrings

Bases: CodexBaseModel

Read a file from the host filesystem.

Source code in src/codexed/models/v2_protocol.py
class FsReadFileParams(CodexBaseModel):
    """Read a file from the host filesystem."""

    path: AbsolutePathBuf
    """
    Absolute path to read.
    """

path instance-attribute

Absolute path to read.

:fa-brands-github: Show source on GitHub