MCPcopy
hub / github.com/github/spec-kit / StepResult

Class StepResult

src/specify_cli/workflows/base.py:79–92  ·  view source on GitHub ↗

Return value from a step execution.

Source from the content-addressed store, hash-verified

77
78@dataclass
79class StepResult:
80 """Return value from a step execution."""
81
82 #: Step status.
83 status: StepStatus = StepStatus.COMPLETED
84
85 #: Output data (stored as ``steps.<id>.output``).
86 output: dict[str, Any] = field(default_factory=dict)
87
88 #: Nested steps to execute (for control-flow steps like if/then).
89 next_steps: list[dict[str, Any]] = field(default_factory=list)
90
91 #: Error message if step failed.
92 error: str | None = None
93
94
95class StepBase(ABC):

Callers 14

executeMethod · 0.90
executeMethod · 0.90
executeMethod · 0.90
executeMethod · 0.90
executeMethod · 0.90
executeMethod · 0.90
executeMethod · 0.90
executeMethod · 0.90
executeMethod · 0.90
executeMethod · 0.90
executeMethod · 0.90
executeMethod · 0.90

Calls

no outgoing calls

Tested by 3

executeMethod · 0.72
executeMethod · 0.72