docs: record json rpc workflow transport

This commit is contained in:
lda
2026-06-03 07:17:01 +07:00 Verified
parent 19e4c61257
commit 5601409897
5 changed files with 32 additions and 8 deletions
+3 -1
View File
@@ -72,7 +72,9 @@ def create_rpc_app(server: WorkflowServer) -> jsonrpc.API:
except (ValueError, KeyError, LookupError, FileNotFoundError) as exc:
raise_workflow_rpc_error(exc)
@entrypoint.method(name="workflow.drafts.create_from_capability", errors=[WorkflowRpcError])
@entrypoint.method(
name="workflow.drafts.create_from_capability", errors=[WorkflowRpcError]
)
async def workflow_drafts_create_from_capability(
params: CreateDraftFromCapabilityParams = Params(...),
) -> dict[str, Any]: