Skip to content

Commit bfa79ba

Browse files
committed
chore: fixed up references to class modules in docs
1 parent 3aad031 commit bfa79ba

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

docs/source/tutorial/2-advanced-execution.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -351,8 +351,8 @@
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",
@@ -415,7 +415,7 @@
415415
],
416416
"metadata": {
417417
"kernelspec": {
418-
"display_name": "wf12",
418+
"display_name": "wf13",
419419
"language": "python",
420420
"name": "python3"
421421
},
@@ -429,7 +429,7 @@
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,

docs/source/tutorial/7-canonical-form.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
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
]

0 commit comments

Comments
 (0)