We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa51173 commit 0d5fc37Copy full SHA for 0d5fc37
1 file changed
src/ai/backend/manager/sokovan/deployment/coordinator.py
@@ -150,15 +150,6 @@ class HandlerRegistry:
150
151
handlers: dict[HandlerKey, DeploymentHandler]
152
153
- def resolve_sub_step(
154
- self, lifecycle_type: DeploymentLifecycleType, raw: str
155
- ) -> DeploymentLifecycleSubStep:
156
- """Resolve a raw sub-step string using registered handler keys."""
157
- for lt, sub_step in self.handlers:
158
- if lt == lifecycle_type and sub_step is not None and sub_step.value == raw:
159
- return sub_step
160
- raise ValueError(f"Unknown sub-step {raw!r} for lifecycle type {lifecycle_type!r}")
161
-
162
163
@dataclass
164
class DeploymentTaskSpec:
0 commit comments