feat: add draft delete command

This commit is contained in:
lda
2026-06-09 04:54:21 +07:00 Verified
parent 50f2313782
commit ddfb11f2a9
11 changed files with 165 additions and 3 deletions
@@ -79,6 +79,16 @@ class RpcDraftClientMixin:
{"workspace_id": workspace_id},
)
async def delete_draft_workspace(
self: RpcCaller,
*,
workspace_id: str,
) -> dict[str, Any]:
return await self._call(
"workflow.draft_workspaces.delete",
{"workspace_id": workspace_id},
)
async def create_artifact_from_workspace(
self: RpcCaller,
*,