diff --git a/sdks/python/apache_beam/io/gcp/bigquery.py b/sdks/python/apache_beam/io/gcp/bigquery.py index 6a433f7d769e..e28a9a12f00f 100644 --- a/sdks/python/apache_beam/io/gcp/bigquery.py +++ b/sdks/python/apache_beam/io/gcp/bigquery.py @@ -1012,7 +1012,8 @@ def _export_files(self, bq): "Error exporting table: %s. " "Note that external tables cannot be exported: " "https://cloud.google.com/bigquery/docs/external-tables" - "#external_table_limitations", exn) + "#external_table_limitations", + exn) raise metadata_list = FileSystems.match([gcs_location])[0].metadata_list diff --git a/sdks/python/apache_beam/io/gcp/bigquery_read_internal.py b/sdks/python/apache_beam/io/gcp/bigquery_read_internal.py index ee5febd85caa..0ca5c2e69a05 100644 --- a/sdks/python/apache_beam/io/gcp/bigquery_read_internal.py +++ b/sdks/python/apache_beam/io/gcp/bigquery_read_internal.py @@ -358,7 +358,8 @@ def _export_files( "Error exporting table: %s. " "Note that external tables cannot be exported: " "https://cloud.google.com/bigquery/docs/external-tables" - "#external_table_limitations", exn) + "#external_table_limitations", + exn) raise metadata_list = FileSystems.match([gcs_location])[0].metadata_list