Skip to content

Commit

Permalink
add more defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
sahakiann committed Jan 21, 2025
1 parent 0d6f10d commit 7652a4d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions python/set_up_staging_workspace_and_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ def _add_row_to_table(self, dataset_id: str) -> None:
dataset_id=dataset_id,
load_tag=f"{dataset_name}_initial_load",
bulk_mode=False,
update_strategy="replace",
update_strategy=ARG_DEFAULTS["update_strategy"],
waiting_time_to_poll=ARG_DEFAULTS["waiting_time_to_poll"],
tdr=self.tdr,
).run()
Expand Down Expand Up @@ -546,7 +546,8 @@ def run(self) -> list[WorkflowConfigs]:

# Set up Terra, TerraGroups, and TDR classes
token = Token(cloud=GCP)
request_util = RunRequest(token=token, max_retries=5, max_backoff_time=60)
request_util = RunRequest(
token=token, max_retries=ARG_DEFAULTS["max_retries"], max_backoff_time=ARG_DEFAULTS["max_backoff_time"])
tdr = TDR(request_util=request_util)
terra_groups = TerraGroups(request_util=request_util)
terra_workspace = TerraWorkspace(
Expand Down

0 comments on commit 7652a4d

Please # to comment.