Skip to content

Commit e6256bf

Browse files
committed
Ignore indirect raises in Raises specification
Signed-off-by: Leandro Lucarella <[email protected]>
1 parent 724e50c commit e6256bf

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/frequenz/sdk/timeseries/_formula_engine/_formula_generators/_producer_power_formula.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,11 @@ class ProducerPowerFormula(FormulaGenerator[Power]):
2121
which are CHP and PV.
2222
"""
2323

24-
def generate(self) -> FormulaEngine[Power]:
24+
def generate( # noqa: DOC502
25+
# * ComponentNotFound is raised indirectly by _get_grid_component()
26+
# * RuntimeError is raised indirectly by connection_manager.get()
27+
self,
28+
) -> FormulaEngine[Power]:
2529
"""Generate formula for calculating producer power from the component graph.
2630
2731
Returns:

0 commit comments

Comments
 (0)