Skip to content

Commit 14d1e19

Browse files
committed
BUG: Fix signature for _run_task
1 parent 80c7b02 commit 14d1e19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pydra/engine/core.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ def can_resume(self):
380380
return self._can_resume
381381

382382
@abc.abstractmethod
383-
def _run_task(self):
383+
def _run_task(self, environment=None):
384384
pass
385385

386386
@property
@@ -1329,7 +1329,7 @@ async def _run(self, submitter=None, rerun=False, **kwargs):
13291329
self._check_for_hash_changes()
13301330
return result
13311331

1332-
async def _run_task(self, submitter, rerun=False):
1332+
async def _run_task(self, submitter, rerun=False, environment=None):
13331333
if not submitter:
13341334
raise Exception("Submitter should already be set.")
13351335
for nd in self.graph.nodes:

0 commit comments

Comments
 (0)