Skip to content

Commit 6b1b007

Browse files
committed
Fixed formatting
1 parent 077e777 commit 6b1b007

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

sdks/python/apache_beam/testing/load_tests/dataflow_cost_benchmark.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -192,9 +192,7 @@ def _get_throughput_metrics(
192192
) -> dict[str, float]:
193193
"""Query Cloud Monitoring for per-PCollection throughput."""
194194
name = (
195-
pcollection_name
196-
if pcollection_name is not None
197-
else self.pcollection)
195+
pcollection_name if pcollection_name is not None else self.pcollection)
198196
interval = monitoring_v3.TimeInterval(
199197
start_time=start_time, end_time=end_time)
200198
aggregation = monitoring_v3.Aggregation(

0 commit comments

Comments
 (0)