From bfeb7f14c3ae09d8861f29dc4b20982118f08bd0 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 29 Mar 2022 00:00:27 +0000 Subject: [PATCH] chore(python): use black==22.3.0 (#310) Source-Link: https://github.com/googleapis/synthtool/commit/6fab84af09f2cf89a031fd8671d1def6b2931b11 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:7cffbc10910c3ab1b852c05114a08d374c195a81cdec1d4a67a1d129331d0bfe --- bigquery-datatransfer/snippets/manage_transfer_configs.py | 4 +++- bigquery-datatransfer/snippets/run_notification_test.py | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/bigquery-datatransfer/snippets/manage_transfer_configs.py b/bigquery-datatransfer/snippets/manage_transfer_configs.py index 5f775f100bc2..6b4abd7814e0 100644 --- a/bigquery-datatransfer/snippets/manage_transfer_configs.py +++ b/bigquery-datatransfer/snippets/manage_transfer_configs.py @@ -135,7 +135,9 @@ def schedule_backfill(override_values={}): ) response = transfer_client.schedule_transfer_runs( - parent=transfer_config_name, start_time=start_time, end_time=end_time, + parent=transfer_config_name, + start_time=start_time, + end_time=end_time, ) print("Started transfer runs:") diff --git a/bigquery-datatransfer/snippets/run_notification_test.py b/bigquery-datatransfer/snippets/run_notification_test.py index 4c41e6890fe5..02f24266cdf6 100644 --- a/bigquery-datatransfer/snippets/run_notification_test.py +++ b/bigquery-datatransfer/snippets/run_notification_test.py @@ -17,7 +17,8 @@ def test_run_notification(capsys, transfer_config_name, pubsub_topic): run_notification.run_notification( - transfer_config_name=transfer_config_name, pubsub_topic=pubsub_topic, + transfer_config_name=transfer_config_name, + pubsub_topic=pubsub_topic, ) out, _ = capsys.readouterr() assert "Updated config:" in out