Skip to content

EnvironmentStatusResponse

Base classes

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

⋔ Inheritance diagram

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

🛈 DocStrings

Bases: CodexBaseModel

Current status for the requested environment.

Source code in src/codexed/models/v2_protocol.py
class EnvironmentStatusResponse(CodexBaseModel):
    """Current status for the requested environment."""

    error: str | None = None
    """
    Human-readable detail for `disconnected` and `unknown`; omitted for other statuses.
    """
    status: EnvironmentStatusKind
    """
    Current status observed without starting or recovering the environment.
    """

error class-attribute instance-attribute

error: str | None = None

Human-readable detail for disconnected and unknown; omitted for other statuses.

status instance-attribute

Current status observed without starting or recovering the environment.

:fa-brands-github: Show source on GitHub