Skip to content

CommitReviewTarget

Base classes

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

⋔ Inheritance diagram

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

🛈 DocStrings

Bases: CodexBaseModel

Review the changes introduced by a specific commit.

Source code in src/codexed/models/v2_protocol.py
class CommitReviewTarget(CodexBaseModel):
    """Review the changes introduced by a specific commit."""

    sha: str
    title: str | None = None
    """
    Optional human-readable label (e.g., commit subject) for UIs.
    """
    type: Literal["commit"] = "commit"

title class-attribute instance-attribute

title: str | None = None

Optional human-readable label (e.g., commit subject) for UIs.

:fa-brands-github: Show source on GitHub