Skip to content

Commit

Permalink
descomenta recaptura e altera tabela
Browse files Browse the repository at this point in the history
  • Loading branch information
vtr363 committed May 3, 2024
1 parent 83705d4 commit b667bd1
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions pipelines/rj_smtr/dashboard_bilhetagem_madonna/flows.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,20 +63,20 @@

## RECAPTURA ##

# run_recaptura_transacao = create_flow_run(
# flow_name=bilhetagem_recaptura.name,
# # project_name=emd_constants.PREFECT_DEFAULT_PROJECT.value,
# project_name="staging",
# labels=emd_constants.RJ_SMTR_AGENT_LABEL.value,
# parameters=constants.BILHETAGEM_TRANSACAO_CAPTURE_PARAMS.value,
# )
run_recaptura_transacao = create_flow_run(
flow_name=bilhetagem_recaptura.name,
# project_name=emd_constants.PREFECT_DEFAULT_PROJECT.value,
project_name="staging",
labels=emd_constants.RJ_SMTR_AGENT_LABEL.value,
parameters=constants.BILHETAGEM_TRANSACAO_CAPTURE_PARAMS.value,
)

# wait_recaptura_transacao = wait_for_flow_run(
# run_recaptura_transacao,
# stream_states=True,
# stream_logs=True,
# raise_final_state=True,
# )
wait_recaptura_transacao = wait_for_flow_run(
run_recaptura_transacao,
stream_states=True,
stream_logs=True,
raise_final_state=True,
)

## MATERIALIZAÇÃO ##

Expand All @@ -102,7 +102,7 @@
RUNS = run_dbt_model(
dbt_client=dbt_client,
dataset_id="dashboard_bilhetagem_madonna",
table_id="transacao_gentileza",
table_id="transacao_madonna",
upstream=True,
)

Expand Down

0 comments on commit b667bd1

Please sign in to comment.