Skip to content

Commit f336d4a

Browse files
committed
Shortening line to pass flake
1 parent cb4785e commit f336d4a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pandas_gbq/gbq.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -894,7 +894,9 @@ def to_gbq(dataframe, destination_table, project_id, chunksize=10000,
894894
connector.delete_and_recreate_table(
895895
dataset_id, table_id, table_schema)
896896
elif if_exists == 'append':
897-
if not connector.schema_is_subset(dataset_id, table_id, table_schema):
897+
if not connector.schema_is_subset(dataset_id,
898+
table_id,
899+
table_schema):
898900
raise InvalidSchema("Please verify that the structure and "
899901
"data types in the DataFrame match the "
900902
"schema of the destination table.")

0 commit comments

Comments
 (0)