Skip to content

Commit 33fac11

Browse files
committed
to changes.
1 parent b72807f commit 33fac11

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

docs/source/changes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ releases are available on [PyPI](https://pypi.org/project/pytask) and
2525
implementing their own nodes.
2626
- {pull}`404` allows to use function returns to define task products.
2727
- {pull}`405` allows to match function returns to node annotations with prefix trees.
28+
- {pull}`406` removes `.value` from `Node` protocol.
2829

2930
## 0.3.2 - 2023-06-07
3031

src/_pytask/nodes.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
from _pytask.node_protocols import MetaNode
1212
from _pytask.node_protocols import Node
13+
from _pytask.node_protocols import PPathNode
1314
from _pytask.tree_util import PyTree
1415
from _pytask.tree_util import tree_leaves
1516
from _pytask.tree_util import tree_structure
@@ -101,7 +102,7 @@ def add_report_section(self, when: str, key: str, content: str) -> None:
101102

102103

103104
@define(kw_only=True)
104-
class PathNode(Node):
105+
class PathNode(PPathNode):
105106
"""The class for a node which is a path."""
106107

107108
name: str = ""

0 commit comments

Comments
 (0)