From 9da77c627208bed828991b9585363ac634606f84 Mon Sep 17 00:00:00 2001 From: tricktx Date: Thu, 21 Sep 2023 21:21:28 -0300 Subject: [PATCH] check for updates --- pipelines/datasets/br_stf_corte_aberta/tasks.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pipelines/datasets/br_stf_corte_aberta/tasks.py b/pipelines/datasets/br_stf_corte_aberta/tasks.py index 114d3b46c..6e6ef2a33 100644 --- a/pipelines/datasets/br_stf_corte_aberta/tasks.py +++ b/pipelines/datasets/br_stf_corte_aberta/tasks.py @@ -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