File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 351351 " how to utilise containers and add support for other software environments.\n " ,
352352 " \n " ,
353353 " It is also possible to specify functions to run at hooks that are immediately before and after\n " ,
354- " the task is executed by passing a `pydra.engine.spec .TaskHooks` object to the `hooks`\n " ,
355- " keyword arg. The callable should take the `pydra.engine.core .Job` object as its only\n " ,
354+ " the task is executed by passing a `pydra.engine.hooks .TaskHooks` object to the `hooks`\n " ,
355+ " keyword arg. The callable should take the `pydra.engine.job .Job` object as its only\n " ,
356356 " argument and return None. The available hooks to attach functions are:\n " ,
357357 " \n " ,
358358 " * pre_run: before the task cache directory is created\n " ,
415415 ],
416416 "metadata" : {
417417 "kernelspec" : {
418- "display_name" : " wf12 " ,
418+ "display_name" : " wf13 " ,
419419 "language" : " python" ,
420420 "name" : " python3"
421421 },
429429 "name" : " python" ,
430430 "nbconvert_exporter" : " python" ,
431431 "pygments_lexer" : " ipython3" ,
432- "version" : " 3.12.5 "
432+ "version" : " 3.13.1 "
433433 }
434434 },
435435 "nbformat" : 4 ,
Original file line number Diff line number Diff line change 3434 " Default values can also be set directly, as with Attrs classes.\n " ,
3535 " \n " ,
3636 " In order to allow static type-checkers to check the type of outputs of tasks added\n " ,
37- " to workflows, it is also necessary to explicitly extend from the `pydra.engine .python.Task`\n " ,
38- " and `pydra.engine .python.Outputs` classes (they are otherwise set as bases by the\n " ,
37+ " to workflows, it is also necessary to explicitly extend from the `pydra.compose .python.Task`\n " ,
38+ " and `pydra.compose .python.Outputs` classes (they are otherwise set as bases by the\n " ,
3939 " `define` method implicitly). Thus the \" canonical form\" of Python task is as\n " ,
4040 " follows"
4141 ]
You can’t perform that action at this time.
0 commit comments