Skip to content

Commit

Permalink
Registrar flow
Browse files Browse the repository at this point in the history
  • Loading branch information
Winzen committed Oct 17, 2024
1 parent 4a0a044 commit abdb18d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion pipelines/datasets/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,5 @@
from pipelines.datasets.br_ms_sih.flows import *
from pipelines.datasets.br_ms_sinan.flows import *
from pipelines.datasets.br_cgu_emendas_parlamentares.flows import *
from pipelines.datasets.br_cgu_cartao_pagamento.flows import *
from pipelines.datasets.br_cgu_cartao_pagamento.flows import *
from pipelines.datasets.br_tse_filiacao_partidaria.flows import *
4 changes: 2 additions & 2 deletions pipelines/datasets/br_tse_filiacao_partidaria/flows.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
)

with Flow(
name="br_tse_filiacao_partidaria", code_owners=["luiz"]
name="br_tse_filiacao_partidaria.microdados", code_owners=["luiz"]
) as br_tse_filiacao_partidaria_microdados:

# Parameters
Expand Down Expand Up @@ -97,7 +97,7 @@
current_flow_labels = get_current_flow_labels(upstream_tasks=[wait_upload_table])
materialization_flow = create_flow_run(
flow_name=utils_constants.FLOW_EXECUTE_DBT_MODEL_NAME.value,
project_name=constants.PREFECT_STAGING_PROJECT.value,
project_name=constants.PREFECT_DEFAULT_PROJECT.value,
parameters={
"dataset_id": dataset_id,
"table_id": table_id,
Expand Down

0 comments on commit abdb18d

Please sign in to comment.