Skip to content

Commit 6e5679c

Browse files
committed
Last fixes.
1 parent bf4fcbd commit 6e5679c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docs/source/tutorials/skipping_tasks.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ skip tasks during development that take too much time to compute right now.
1414
```
1515

1616
Not only will this task be skipped, but all tasks depending on
17-
`time_intensive_product`.pkl\`.
17+
`time_intensive_product.pkl`.
1818

1919
## Conditional skipping
2020

src/_pytask/nodes.py

+1
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,7 @@ def signature(self) -> str:
359359
return hashlib.sha256(raw_key.encode()).hexdigest()
360360

361361
def load(self, is_product: bool = False) -> Path:
362+
"""Inject a path into the task when loaded as a product."""
362363
if is_product:
363364
return self.root_dir # type: ignore[return-value]
364365
msg = "'DirectoryNode' cannot be loaded as a dependency" # pragma: no cover

0 commit comments

Comments
 (0)