Skip to content

Commit f3defd2

Browse files
committed
Remove unnecessary explicit inheritance from Generic
The base class `FormulaBuilder` is already a `Generic`, so there is no need to specify the type parameter via `Generic` too. Signed-off-by: Leandro Lucarella <[email protected]>
1 parent 7acde05 commit f3defd2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/frequenz/sdk/timeseries/formula_engine/_resampled_formula_builder.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from __future__ import annotations
77

88
from collections.abc import Callable
9-
from typing import TYPE_CHECKING, Generic
9+
from typing import TYPE_CHECKING
1010

1111
from frequenz.channels import Receiver, Sender
1212

@@ -21,7 +21,7 @@
2121
from ...actor import ChannelRegistry, ComponentMetricRequest
2222

2323

24-
class ResampledFormulaBuilder(Generic[QuantityT], FormulaBuilder[QuantityT]):
24+
class ResampledFormulaBuilder(FormulaBuilder[QuantityT]):
2525
"""Provides a way to build a FormulaEngine from resampled data streams."""
2626

2727
def __init__( # pylint: disable=too-many-arguments

0 commit comments

Comments
 (0)