Skip to content

SystemConfigLayerSource

Base classes

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

⋔ Inheritance diagram

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

🛈 DocStrings

Bases: CodexBaseModel

Managed config layer from a file (usually managed_config.toml).

Source code in src/codexed/models/v2_protocol.py
class SystemConfigLayerSource(CodexBaseModel):
    """Managed config layer from a file (usually `managed_config.toml`)."""

    file: AbsolutePathBuf
    """
    This is the path to the system config.toml file, though it is not guaranteed to exist.
    """
    type: Literal["system"] = "system"

file instance-attribute

This is the path to the system config.toml file, though it is not guaranteed to exist.

:fa-brands-github: Show source on GitHub