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

refatora sppo_infracao e sppo_licenciamento_stu para buscar do ftp #683

Merged
merged 9 commits into from
May 17, 2024

Conversation

vtr363
Copy link
Contributor

@vtr363 vtr363 commented May 16, 2024

No description provided.

@vtr363 vtr363 added the rj-smtr label May 16, 2024
@vtr363 vtr363 self-assigned this May 16, 2024
) as sppo_licenciamento_captura:
timestamp = Parameter("timestamp", default=None)
get_from_storage = Parameter("get_from_storage", default=False)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

é melhor manter a prossibilidade de pegar do storage, já que quando o job do FTP falhar a gente teria que subir manualmente

treated_status = pre_treatment_sppo_licenciamento(
status=raw_status, timestamp=timestamp
# TRANSFORM
treated_paths, raw_paths, partitions, status = pre_treatment_sppo_licenciamento(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

não alterar o tratamento, só modificar a get_raw

Copy link

Análise da árvore de código

Os seguintes arquivos são afetados diretamente por alterações realizadas nesse pull request:
- pipelines/rj_smtr/br_rj_riodejaneiro_onibus_gps/tasks.py
- pipelines/rj_smtr/br_rj_riodejaneiro_rdo/utils.py
- pipelines/rj_smtr/init.py
- pipelines/rj_smtr/tasks.py
- pipelines/rj_smtr/br_rj_riodejaneiro_onibus_gps/flows.py
- pipelines/rj_smtr/schedules.py
- pipelines/rj_smtr/utils.py
- pipelines/rj_smtr/br_rj_riodejaneiro_viagem_zirix/constants.py
- pipelines/rj_smtr/br_rj_riodejaneiro_brt_gps/tasks.py
- pipelines/rj_smtr/br_rj_riodejaneiro_stpl_gps/tasks.py
- pipelines/rj_smtr/projeto_subsidio_sppo/flows.py
- pipelines/rj_smtr/constants.py
- pipelines/rj_smtr/registros_ocr_rir/flows.py
- pipelines/rj_smtr/br_rj_riodejaneiro_sigmob/flows.py
- pipelines/rj_smtr/br_rj_riodejaneiro_stu/tasks.py
- pipelines/rj_smtr/veiculo/flows.py
- pipelines/rj_smtr/br_rj_riodejaneiro_bilhetagem/flows.py
- pipelines/rj_smtr/registros_ocr_rir/tasks.py
- pipelines/rj_smtr/br_rj_riodejaneiro_rdo/flows.py
- pipelines/rj_smtr/br_rj_riodejaneiro_brt_gps/flows.py
- pipelines/rj_smtr/br_rj_riodejaneiro_diretorios/flows.py
- pipelines/rj_smtr/br_rj_riodejaneiro_recursos/flows.py
- pipelines/rj_smtr/br_rj_riodejaneiro_onibus_gps_zirix/tasks.py
- pipelines/rj_smtr/br_rj_riodejaneiro_gtfs/flows.py
- pipelines/rj_smtr/projeto_subsidio_sppo/tasks.py
- pipelines/rj_smtr/veiculo/tasks.py
- pipelines/rj_smtr/br_rj_riodejaneiro_sigmob/tasks.py
- pipelines/rj_smtr/br_rj_riodejaneiro_stu/flows.py
- pipelines/rj_smtr/br_rj_riodejaneiro_onibus_gps_zirix/flows.py
- pipelines/rj_smtr/br_rj_riodejaneiro_rdo/tasks.py
- pipelines/rj_smtr/br_rj_riodejaneiro_stpl_gps/flows.py

Os seguintes usuários devem ser avisados sobre a alteração:
- @lingsv
- @eng-rodrigocunha
- @pixuimpou
- @fernandascovino
- @borismarinho
- @Hellcassius

@vtr363 vtr363 merged commit c870c3d into master May 17, 2024
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants