Source code for ralph.pipeline.commit_state
"""Commit state model for pipeline state."""
from __future__ import annotations
from pydantic import ConfigDict
from ralph.pydantic_compat import RalphBaseModel
_FROZEN = ConfigDict(frozen=True)
[docs]
class CommitState(RalphBaseModel):
"""State for commit operations."""
model_config = _FROZEN
message_prepared: bool = False
diff_prepared: bool = False
agent_invoked: bool = False