Skip to content

Commit

Permalink
Rename list_filter variable
Browse files Browse the repository at this point in the history
Signed-off-by: cwasicki <[email protected]>
  • Loading branch information
cwasicki committed Sep 13, 2024
1 parent d7664fa commit ab3f06e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/frequenz/client/reporting/_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ def dt2ts(dt: datetime) -> PBTimestamp:
end=dt2ts(end_dt),
)

list_filter = PBReceiveMicrogridComponentsDataStreamRequest.StreamFilter(
stream_filter = PBReceiveMicrogridComponentsDataStreamRequest.StreamFilter(
time_filter=time_filter,
resampling_options=PBResamplingOptions(resolution=resolution),
)
Expand All @@ -234,7 +234,7 @@ def dt2ts(dt: datetime) -> PBTimestamp:
request = PBReceiveMicrogridComponentsDataStreamRequest(
microgrid_components=microgrid_components_pb,
metrics=metrics_pb,
filter=list_filter,
filter=stream_filter,
)

try:
Expand Down

0 comments on commit ab3f06e

Please sign in to comment.