Skip to content

Commit e70bae8

Browse files
Update src/power_grid_model_ds/_core/model/graphs/models/base.py
Co-authored-by: Vincent Koppen <53343926+vincentkoppen@users.noreply.github.com> Signed-off-by: Thijs Baaijen <13253091+Thijss@users.noreply.github.com>
1 parent 9e76880 commit e70bae8

File tree

1 file changed

+1
-1
lines changed
  • src/power_grid_model_ds/_core/model/graphs/models

1 file changed

+1
-1
lines changed

src/power_grid_model_ds/_core/model/graphs/models/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def has_node(self, node_id: int) -> bool:
7474
return self._has_node(node_id=internal_node_id)
7575

7676
def in_branches(self, node_id: int) -> Generator[tuple[int, int], None, None]:
77-
"""Return all edges a node occurs in."""
77+
"""Return all branches that have the node as an endpoint."""
7878
int_node_id = self.external_to_internal(node_id)
7979
internal_edges = self._in_branches(int_node_id=int_node_id)
8080
return (

0 commit comments

Comments
 (0)