Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

Commit b0211af

Browse files
committed
always pass in location
1 parent 7d3aa4c commit b0211af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

google/cloud/bigquery/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1503,8 +1503,8 @@ def delete_job(
15031503
if location is None:
15041504
location = self.location
15051505

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

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

0 commit comments

Comments
 (0)