From 7a0bbef7b382c6350019cb2f14ca478b9d3c0e9f Mon Sep 17 00:00:00 2001 From: Gabriel Gazola Milan Date: Tue, 4 Jun 2024 09:30:19 -0300 Subject: [PATCH 1/2] chore: upgrade prefeitura-rio --- poetry.lock | 6 +++--- pyproject.toml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/poetry.lock b/poetry.lock index c859b2f..7b397ba 100644 --- a/poetry.lock +++ b/poetry.lock @@ -2595,8 +2595,8 @@ sgrc = ["aiohttp (>=3.8.5,<4.0.0)", "pendulum (>=2.1.2,<3.0.0)", "pytz (>=2023.3 [package.source] type = "git" url = "https://github.com/prefeitura-rio/prefeitura-rio" -reference = "8e0f7e1d4e152c79bc428e3f99fb90567dbb8eac" -resolved_reference = "8e0f7e1d4e152c79bc428e3f99fb90567dbb8eac" +reference = "6ece88c9daca181336c56789dbec0688d21c4c74" +resolved_reference = "6ece88c9daca181336c56789dbec0688d21c4c74" [[package]] name = "proto-plus" @@ -4231,4 +4231,4 @@ testing = ["big-O", "jaraco.functools", "jaraco.itertools", "more-itertools", "p [metadata] lock-version = "2.0" python-versions = ">=3.10,<3.11" -content-hash = "8c6d638b311c76638a16ec3d2b0ce1e80ef8571232ac4f2007b17dd4d5e09161" +content-hash = "9bec0cf093565d98cf448a6ddd7aa983fbf0613da034425f2df672efda81e8c5" diff --git a/pyproject.toml b/pyproject.toml index 9f2360d..1e691ca 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ python = ">=3.10,<3.11" dbt-bigquery = "^1.6.1" google-cloud-storage = "^2.10.0" prefect = "1.4.1" -prefeitura-rio = { git = "https://github.com/prefeitura-rio/prefeitura-rio", rev = "8e0f7e1d4e152c79bc428e3f99fb90567dbb8eac", extras = [ +prefeitura-rio = { git = "https://github.com/prefeitura-rio/prefeitura-rio", rev = "6ece88c9daca181336c56789dbec0688d21c4c74", extras = [ "pipelines", "pipelines-templates", "actions", From c7852ff6c027e31c49f0a0b9b5a87fbbcc26a06e Mon Sep 17 00:00:00 2001 From: Gabriel Gazola Milan Date: Tue, 4 Jun 2024 09:31:47 -0300 Subject: [PATCH 2/2] chore: minor mods so it can register --- pipelines/sislic/dump_db_sislic/flows.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pipelines/sislic/dump_db_sislic/flows.py b/pipelines/sislic/dump_db_sislic/flows.py index afe0ab0..7dc0afb 100644 --- a/pipelines/sislic/dump_db_sislic/flows.py +++ b/pipelines/sislic/dump_db_sislic/flows.py @@ -1,13 +1,12 @@ # -*- coding: utf-8 -*- """ -Database dumping flows for SMDUE project (SISLIC) +Database dump flow for SMDUE project (SISLIC) """ from copy import deepcopy from prefect.run_configs import KubernetesRun from prefect.storage import GCS - from prefeitura_rio.pipelines_templates.dump_db.flows import flow as dump_sql_flow from prefeitura_rio.pipelines_utils.prefect import set_default_parameters from prefeitura_rio.pipelines_utils.state_handlers import ( @@ -16,9 +15,7 @@ ) from pipelines.constants import constants -from pipelines.sislic.dump_db_sislic.schedules import ( - update_schedule, -) +from pipelines.sislic.dump_db_sislic.schedules import update_schedule dump_sislic_flow = deepcopy(dump_sql_flow) dump_sislic_flow.name = "SMDUE: SISLIC - Ingerir tabelas de banco SQL"