Skip to content

Commit

Permalink
separate default retries by domain
Browse files Browse the repository at this point in the history
  • Loading branch information
mikealfare committed Dec 17, 2024
1 parent 6aea992 commit 461e433
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions dbt/adapters/bigquery/clients.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@ def create_gcs_client(credentials: BigQueryCredentials) -> StorageClient:


# dataproc does not appear to have a default retry like BQ and GCS
def create_dataproc_job_controller_client(
credentials: BigQueryCredentials,
) -> JobControllerClient:
def create_dataproc_job_controller_client(credentials: BigQueryCredentials) -> JobControllerClient:
return JobControllerClient(
credentials=create_google_credentials(credentials),
client_options=ClientOptions(api_endpoint=_dataproc_endpoint(credentials)),
Expand Down

0 comments on commit 461e433

Please sign in to comment.