mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-11-02 05:17:23 +08:00
fix(types): complete workflow note input contract
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user