Skip to content

Commit 3131305

Browse files
committed
Remove commented-out code in formula evaluator
Signed-off-by: Sahas Subramanian <[email protected]>
1 parent a06702b commit 3131305

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/frequenz/sdk/timeseries/formulas/_formula.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -92,15 +92,6 @@ def __str__(self) -> str:
9292
def new_receiver(self, *, limit: int = 50) -> Receiver[Sample[QuantityT]]:
9393
"""Subscribe to the formula evaluator to get evaluated samples."""
9494
if not self._evaluator.is_running:
95-
# raise RuntimeError(
96-
# f"Formula evaluator for '{self._root}' is not running. Please "
97-
# + "call `start()` on the formula before using it.",
98-
# )
99-
# _logger.warning(
100-
# "Formula evaluator for '%s' is not running. Starting it. "
101-
# + "Please call `start()` on the formula before using it."
102-
# self._root,
103-
# )
10495
self.start()
10596
return self._channel.new_receiver(limit=limit)
10697

0 commit comments

Comments
 (0)