Skip to content

Commit b3193be

Browse files
committed
ruff
1 parent a6fa8cd commit b3193be

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

parsons/google/google_bigquery.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,9 @@ def copy_from_gcs(
456456
Other arguments to pass to the underlying load_table_from_uri
457457
call on the BigQuery client.
458458
"""
459-
self._validate_copy_inputs(if_exists=if_exists, data_type=data_type, override_data_type_check=True)
459+
self._validate_copy_inputs(
460+
if_exists=if_exists, data_type=data_type, override_data_type_check=True
461+
)
460462

461463
job_config = self._process_job_config(
462464
job_config=job_config,
@@ -1559,7 +1561,9 @@ def _fetch_query_results(self, cursor) -> Table:
15591561
ptable = petl.frompickle(temp_filename)
15601562
return Table(ptable)
15611563

1562-
def _validate_copy_inputs(self, if_exists: str, data_type: str, override_data_type_check: bool = False):
1564+
def _validate_copy_inputs(
1565+
self, if_exists: str, data_type: str, override_data_type_check: bool = False
1566+
):
15631567
if if_exists not in ["fail", "truncate", "append", "drop"]:
15641568
raise ValueError(
15651569
f"Unexpected value for if_exists: {if_exists}, must be one of "

0 commit comments

Comments
 (0)