File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ def inputs(self):
51
51
return self ._node .inputs
52
52
53
53
@classmethod
54
- def _from_task (cls , job : "Job[TaskType]" ) -> Self :
54
+ def _from_job (cls , job : "Job[TaskType]" ) -> Self :
55
55
"""Collect the outputs of a job. This is just an abstract base method that
56
56
should be used by derived classes to set default values for the outputs.
57
57
Original file line number Diff line number Diff line change @@ -203,7 +203,7 @@ def make(wrapped: ty.Callable | type) -> Task:
203
203
class PythonOutputs (base .Outputs ):
204
204
205
205
@classmethod
206
- def _from_task (cls , job : "Job[PythonTask]" ) -> ty .Self :
206
+ def _from_job (cls , job : "Job[PythonTask]" ) -> ty .Self :
207
207
"""Collect the outputs of a job from a combination of the provided inputs,
208
208
the objects in the output directory, and the stdout and stderr of the process.
209
209
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ class ShellOutputs(base.Outputs):
56
56
stderr : str = field .out (name = "stderr" , type = str , help = STDERR_HELP )
57
57
58
58
@classmethod
59
- def _from_task (cls , job : "Job[Task]" ) -> ty .Self :
59
+ def _from_job (cls , job : "Job[Task]" ) -> ty .Self :
60
60
"""Collect the outputs of a shell process from a combination of the provided inputs,
61
61
the objects in the output directory, and the stdout and stderr of the process.
62
62
Original file line number Diff line number Diff line change @@ -291,7 +291,7 @@ def cast(field: ty.Any, new_type: type[U]) -> U:
291
291
class WorkflowOutputs (base .Outputs ):
292
292
293
293
@classmethod
294
- def _from_task (cls , job : "Job[WorkflowTask]" ) -> ty .Self :
294
+ def _from_job (cls , job : "Job[WorkflowTask]" ) -> ty .Self :
295
295
"""Collect the outputs of a workflow job from the outputs of the nodes in the
296
296
297
297
Parameters
You can’t perform that action at this time.
0 commit comments