We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2770b8 commit 0bd7417Copy full SHA for 0bd7417
src/power_grid_model_ds/_core/model/graphs/container.py
@@ -69,15 +69,6 @@ def add_branch_array(self, branch_array: BranchArray) -> None:
69
graph = getattr(self, field.name)
70
graph.add_branch_array(branch_array=branch_array)
71
72
- def add_branch(self, branch: BranchArray) -> None:
73
- """Add a branch to all graphs"""
74
- warnings.warn(
75
- "add_branch is deprecated and will be removed in a future release, use add_branch_array instead",
76
- category=DeprecationWarning,
77
- stacklevel=2,
78
- )
79
- self.add_branch_array(branch_array=branch)
80
-
81
def add_branch3_array(self, branch3_array: Branch3Array) -> None:
82
"""Add a branch to all graphs"""
83
for field in self.graph_attributes:
0 commit comments