Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
AnandInguva committed Sep 29, 2023
1 parent 80ca685 commit c3f6556
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions sdks/python/apache_beam/testing/analyzers/perf_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,9 @@ def run_change_point_analysis(


def run(
big_query_metrics_fetcher: MetricsFetcher = BigQueryMetricsFetcher(),
config_file_path: Optional[str] = None,
big_query_metrics_fetcher: Optional[MetricsFetcher] = None) -> None:
) -> None:
"""
run is the entry point to run change point analysis on test metric
data, which is read from config file, and if there is a performance
Expand All @@ -181,8 +182,6 @@ def run(

tests_config: Dict[str, Dict[str, Any]] = read_test_config(config_file_path)

if not big_query_metrics_fetcher:
big_query_metrics_fetcher: MetricsFetcher = BigQueryMetricsFetcher()

for test_id, params in tests_config.items():
run_change_point_analysis(
Expand Down

0 comments on commit c3f6556

Please sign in to comment.