diff --git a/bigquery/docs/snippets.py b/bigquery/docs/snippets.py index b11dccfbfd09..c6bc247464da 100644 --- a/bigquery/docs/snippets.py +++ b/bigquery/docs/snippets.py @@ -987,12 +987,7 @@ def test_load_table_from_file(client, to_delete): job_config.autodetect = True with open(filename, "rb") as source_file: - job = client.load_table_from_file( - source_file, - table_ref, - location="US", # Must match the destination dataset location. - job_config=job_config, - ) # API request + job = client.load_table_from_file(source_file, table_ref, job_config=job_config) job.result() # Waits for table load to complete.