Skip to content

Commit

Permalink
check for updates
Browse files Browse the repository at this point in the history
  • Loading branch information
tricktx committed Sep 22, 2023
1 parent a8b64ba commit 9da77c6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pipelines/datasets/br_stf_corte_aberta/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,11 @@ def check_for_updates(dataset_id, table_id):
data_obj = check_for_data()
# Obtém a última data no site BD
data_bq_obj = extract_last_date(
dataset_id, table_id, "yy-mm-dd", "basedosdados-dev", data="data_decisao"
dataset_id=dataset_id,
table_id=table_id,
date_format="yy-mm-dd",
billing_project_id="basedosdados-dev",
data="data_decisao",
)

# Registra a data mais recente do site
Expand Down

0 comments on commit 9da77c6

Please sign in to comment.