docs
This commit is contained in:
@@ -5,7 +5,6 @@ from typing import TYPE_CHECKING, Any
|
||||
|
||||
from wf_artifacts import (
|
||||
ArtifactKind,
|
||||
DraftWorkspaceStore,
|
||||
)
|
||||
from wf_core.models.steps import (
|
||||
InputBinding,
|
||||
@@ -175,11 +174,6 @@ class WorkflowSurfaceHandlers:
|
||||
) -> dict[str, Any]:
|
||||
return await self._drafts.patch_draft(draft=draft, patch=patch)
|
||||
|
||||
def _draft_store(self) -> DraftWorkspaceStore:
|
||||
if self.service.draft_workspace_store is None:
|
||||
raise KeyError("draft workspace store is not configured")
|
||||
return self.service.draft_workspace_store
|
||||
|
||||
async def list_draft_workspaces(self) -> dict[str, Any]:
|
||||
"""Return compact summaries for stored draft workspaces."""
|
||||
return await self._drafts.list_draft_workspaces()
|
||||
|
||||
Reference in New Issue
Block a user