Skip to content

Commit

Permalink
Desativar udate_metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
Winzen committed Oct 17, 2024
1 parent 999d568 commit c44f1f6
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions pipelines/datasets/br_tse_filiacao_partidaria/flows.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,17 +127,17 @@
)
# coverage updater

with case(update_metadata, True):
update_django_metadata(
dataset_id=dataset_id,
table_id=table_id,
date_column_name={"date": "data_extracao"},
date_format="%Y",
prefect_mode=materialization_mode,
coverage_type="all_free",
bq_project="basedosdados",
upstream_tasks=[wait_for_materialization],
)
# with case(update_metadata, True):
# update_django_metadata(
# dataset_id=dataset_id,
# table_id=table_id,
# date_column_name={"date": "data_extracao"},
# date_format="%Y",
# prefect_mode=materialization_mode,
# coverage_type="all_free",
# bq_project="basedosdados",
# upstream_tasks=[wait_for_materialization],
# )

br_tse_filiacao_partidaria_microdados.storage = GCS(constants.GCS_FLOWS_BUCKET.value)
br_tse_filiacao_partidaria_microdados.run_config = KubernetesRun(image=constants.DOCKER_IMAGE.value)
Expand Down

0 comments on commit c44f1f6

Please sign in to comment.