Skip to content

Commit

Permalink
Remove unnecessary arg workflow_instance_id in abstractmethod _run in…
Browse files Browse the repository at this point in the history
… BaseWorker
  • Loading branch information
panregedit committed Nov 22, 2024
1 parent 45e7418 commit 451d994
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion omagent-core/src/omagent_core/engine/worker/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def workflow_instance_id(self, value: str):
self._workflow_instance_id = value

@abstractmethod
def _run(self, workflow_instance_id, *args, **kwargs) -> Any:
def _run(self, *args, **kwargs) -> Any:
"""Run the Node."""

def execute(self, task: Task) -> TaskResult:
Expand Down

0 comments on commit 451d994

Please sign in to comment.