diff --git a/shc/data_logging.py b/shc/data_logging.py index e29729cb..898368b4 100644 --- a/shc/data_logging.py +++ b/shc/data_logging.py @@ -455,7 +455,7 @@ async def _websocket_before_subscribe(self, ws: aiohttp.web.WebSocketResponse) - cls=SHCJsonEncoder)) -def aggregate(data: List[Tuple[datetime.datetime, T]], type_: Type[T], start_time: datetime.datetime, +def aggregate(data: List[Tuple[datetime.datetime, T]], type_: Type[T], start_time: datetime.datetime, # noqa: C901 end_time: datetime.datetime, aggregation_method: AggregationMethod, aggregation_interval: datetime.timedelta) -> List[Tuple[datetime.datetime, float]]: """