fix: update bind_draft docstring, remove duplicate decorator

This commit is contained in:
lda
2026-06-29 19:40:29 +07:00 Verified
parent 1dd9eb0a39
commit 6ff9f377ab
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -196,7 +196,7 @@ class WorkflowDraftAuthoringApi:
source_path: str, source_path: str,
target_path: str, target_path: str,
) -> dict[str, Any]: ) -> dict[str, Any]:
"""Bind a graph path to/from one capability local field with schema projection.""" """Bind a graph path to/from one capability local field, projecting missing schema when needed."""
workspace = self.drafts._draft_store().get_workspace(workspace_id) workspace = self.drafts._draft_store().get_workspace(workspace_id)
step = draft_step(workspace.draft, step_id) step = draft_step(workspace.draft, step_id)
capability_name = step.get("use") capability_name = step.get("use")
-1
View File
@@ -540,7 +540,6 @@ async def test_facade_delegates_semantic_authoring_to_authoring_service(
assert result["revision"] == 2 assert result["revision"] == 2
@pytest.mark.asyncio
@pytest.mark.asyncio @pytest.mark.asyncio
async def test_bind_draft_workflow_input_to_step_input_projects_input_schema( async def test_bind_draft_workflow_input_to_step_input_projects_input_schema(
tmp_path: Path, tmp_path: Path,