Skip to content

Commit 0d5fc37

Browse files
jopemachineclaude
andcommitted
fix: Remove unused resolve_sub_step from HandlerRegistry
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent fa51173 commit 0d5fc37

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

src/ai/backend/manager/sokovan/deployment/coordinator.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -150,15 +150,6 @@ class HandlerRegistry:
150150

151151
handlers: dict[HandlerKey, DeploymentHandler]
152152

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-
162153

163154
@dataclass
164155
class DeploymentTaskSpec:

0 commit comments

Comments
 (0)