Skip to content

Commit

Permalink
always pass in location
Browse files Browse the repository at this point in the history
  • Loading branch information
tswast committed Apr 15, 2021
1 parent 7d3aa4c commit b0211af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions google/cloud/bigquery/client.py
Expand Up @@ -1503,8 +1503,8 @@ def delete_job(
if location is None:
location = self.location

if location is not None:
extra_params["location"] = location
# Location is always required for jobs.delete()
extra_params["location"] = location

path = "/projects/{}/jobs/{}/delete".format(project, job_id)

Expand Down

0 comments on commit b0211af

Please sign in to comment.