Skip to content

SelectedCapabilityRoot

Base classes

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

⋔ Inheritance diagram

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

🛈 DocStrings

Bases: CodexBaseModel

A user-selected root that can expose one or more runtime capabilities.

Source code in src/codexed/models/v2_protocol.py
class SelectedCapabilityRoot(CodexBaseModel):
    """A user-selected root that can expose one or more runtime capabilities."""

    id: str
    """
    Stable identifier supplied by the capability selection platform.
    """
    location: CapabilityRootLocation
    """
    Where the selected root can be resolved.
    """

id instance-attribute

id: str

Stable identifier supplied by the capability selection platform.

location instance-attribute

Where the selected root can be resolved.

:fa-brands-github: Show source on GitHub