Skip to content

Commit d923a64

Browse files
committed
added docs
1 parent deb62f0 commit d923a64

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/edgygraph/nodes.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@ class Node[T: StateProtocol = StateProtocol, S: SharedProtocol = SharedProtocol]
1818
"""
1919

2020
dependencies: set[str] = set()
21-
"""The pip dependencies of the node (python packages). On initialization of the node a check is performed if the dependencies are installed with importlib. If not an error is raised."""
21+
"""
22+
The pip dependencies of the node (python packages). On initialization of the node a check is performed if the dependencies are installed with importlib. If not an error is raised.
23+
24+
The dependencies are collected from all parent classes. That means if a parent class has dependencies, the child class will also have those, but the child class can add more by setting the `dependencies` attribute without the need to repeat the parent classes dependencies.
25+
"""
2226

2327
@classmethod
2428
def check_dependencies(cls) -> None:

0 commit comments

Comments
 (0)