Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migração - Desliga schedule br_rj_riodejaneiro_recursos #707

Merged
merged 1 commit into from
Jun 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions pipelines/rj_smtr/br_rj_riodejaneiro_recursos/flows.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
from pipelines.rj_smtr.tasks import get_current_timestamp

from pipelines.rj_smtr.flows import default_capture_flow, default_materialization_flow
from pipelines.rj_smtr.schedules import every_day

# from pipelines.rj_smtr.schedules import every_day


# CAPTURA DOS TICKETS #
Expand Down Expand Up @@ -106,9 +107,11 @@
]

table_params = task(
lambda tables, exclude: [t for t in tables if t["table_id"] not in exclude]
if exclude is not None
else tables,
lambda tables, exclude: (
[t for t in tables if t["table_id"] not in exclude]
if exclude is not None
else tables
),
checkpoint=False,
name="get_tables_to_run",
)(tables=constants.SUBSIDIO_SPPO_RECURSOS_TABLE_IDS.value, exclude=exclude)
Expand Down Expand Up @@ -197,4 +200,4 @@
)

# Schedule
subsidio_sppo_recurso.schedule = every_day
# subsidio_sppo_recurso.schedule = every_day
Loading