Skip to content

Commit

Permalink
revert getting network variables from template
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaszanotelli committed Dec 1, 2023
1 parent a64ca96 commit 893bb5c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions dags/bucket_list_dag.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
public_project = "{{ var.value.public_project }}"
public_dataset = "{{ var.value.public_dataset }}"
public_dataset_new = "{{ var.value.public_dataset_new }}"
use_testnet = "{{ var.value.use_testnet | literal_eval }}"
use_futurenet = "{{ var.value.use_futurenet | literal_eval }}"
use_testnet = literal_eval(Variable.get("use_testnet"))
use_futurenet = literal_eval(Variable.get("use_futurenet"))
"""
The time task reads in the execution time of the current run, as well as the next
execution time. It converts these two times into ledger ranges.
Expand Down
4 changes: 2 additions & 2 deletions dags/history_archive_with_captive_core_dag.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
public_project = "{{ var.value.public_project }}"
public_dataset = "{{ var.value.public_dataset }}"
public_dataset_new = "{{ var.value.public_dataset_new }}"
use_testnet = "{{ var.value.use_testnet | literal_eval }}"
use_futurenet = "{{ var.value.use_futurenet | literal_eval }}"
use_testnet = literal_eval(Variable.get("use_testnet"))
use_futurenet = literal_eval(Variable.get("use_futurenet"))

"""
The time task reads in the execution time of the current run, as well as the next
Expand Down
4 changes: 2 additions & 2 deletions dags/history_archive_without_captive_core_dag.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
public_project = "{{ var.value.public_project }}"
public_dataset = "{{ var.value.public_dataset }}"
public_dataset_new = "{{ var.value.public_dataset_new }}"
use_testnet = "{{ var.value.use_testnet | literal_eval }}"
use_futurenet = "{{ var.value.use_futurenet | literal_eval }}"
use_testnet = literal_eval(Variable.get("use_testnet"))
use_futurenet = literal_eval(Variable.get("use_futurenet"))

"""
The time task reads in the execution time of the current run, as well as the next
Expand Down
4 changes: 2 additions & 2 deletions dags/state_table_dag.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@
public_project = "{{ var.value.public_project }}"
public_dataset = "{{ var.value.public_dataset }}"
public_dataset_new = "{{ var.value.public_dataset_new }}"
use_testnet = "{{ var.value.use_testnet | literal_eval }}"
use_futurenet = "{{ var.value.use_futurenet | literal_eval }}"
use_testnet = literal_eval(Variable.get("use_testnet"))
use_futurenet = literal_eval(Variable.get("use_futurenet"))

date_task = build_time_task(dag, use_testnet=use_testnet, use_futurenet=use_futurenet)
changes_task = build_export_task(
Expand Down

0 comments on commit 893bb5c

Please sign in to comment.