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 351
351
" how to utilise containers and add support for other software environments.\n " ,
352
352
" \n " ,
353
353
" 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 " ,
356
356
" argument and return None. The available hooks to attach functions are:\n " ,
357
357
" \n " ,
358
358
" * pre_run: before the task cache directory is created\n " ,
415
415
],
416
416
"metadata" : {
417
417
"kernelspec" : {
418
- "display_name" : " wf12 " ,
418
+ "display_name" : " wf13 " ,
419
419
"language" : " python" ,
420
420
"name" : " python3"
421
421
},
429
429
"name" : " python" ,
430
430
"nbconvert_exporter" : " python" ,
431
431
"pygments_lexer" : " ipython3" ,
432
- "version" : " 3.12.5 "
432
+ "version" : " 3.13.1 "
433
433
}
434
434
},
435
435
"nbformat" : 4 ,
Original file line number Diff line number Diff line change 34
34
" Default values can also be set directly, as with Attrs classes.\n " ,
35
35
" \n " ,
36
36
" 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 " ,
39
39
" `define` method implicitly). Thus the \" canonical form\" of Python task is as\n " ,
40
40
" follows"
41
41
]
You can’t perform that action at this time.
0 commit comments