fix(types): complete workflow note input contract

This commit is contained in:
jxxghp
2026-10-17 05:37:59 +08:00
parent c6175bcdcf
commit 7474f96c73

View File

@@ -15,7 +15,9 @@ class NoteAction(BaseAction):
@property
def success(self) -> bool:
"""返回当前动作是否已达到完成条件。"""
return True
def execute(self, workflow_id: int, params: dict, context: ActionContext) -> ActionContext:
def execute(self, workflow_id: int, params: dict[str, object], context: ActionContext) -> ActionContext:
"""备注不处理输入,原样保留工作流上下文。"""
return context