From 69550c9b3dc85c78dd3f70d0ec750f98ec3700a0 Mon Sep 17 00:00:00 2001 From: PedroSiqueira1 Date: Wed, 30 Oct 2024 11:29:33 -0300 Subject: [PATCH 1/8] fix: Change models to correct dataset --- queries/models/atividade_economica/fact_fatoalvaras.sql | 2 +- queries/models/atividade_economica/fact_fatocp.sql | 2 +- queries/models/atividade_economica/tab_alvara.sql | 2 +- queries/models/atividade_economica/tab_atvprocesso.sql | 2 +- queries/models/atividade_economica/tab_cae.sql | 2 +- queries/models/atividade_economica/tab_cnae.sql | 2 +- queries/models/atividade_economica/tab_consulta.sql | 2 +- queries/models/atividade_economica/tab_direcionamento.sql | 2 +- .../tab_tipocontribuinte_tipocontribuint.sql | 2 +- queries/models/atividade_economica/tab_tiposolicitacao.sql | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/queries/models/atividade_economica/fact_fatoalvaras.sql b/queries/models/atividade_economica/fact_fatoalvaras.sql index 8d2e057..617fee8 100644 --- a/queries/models/atividade_economica/fact_fatoalvaras.sql +++ b/queries/models/atividade_economica/fact_fatoalvaras.sql @@ -11,4 +11,4 @@ SELECT SAFE_CAST(ID_TipoContribuint AS STRING) AS ID_TipoContribuint, SAFE_CAST(ID_TipoSolicitacao AS STRING) AS ID_TipoSolicitacao -FROM `rj-iplanrio.alvaras_staging.fact_fatoalvaras` \ No newline at end of file +FROM `rj-smfp.atividade_economica_staging.fact_fatoalvaras` \ No newline at end of file diff --git a/queries/models/atividade_economica/fact_fatocp.sql b/queries/models/atividade_economica/fact_fatocp.sql index ec3ad82..7c4405e 100644 --- a/queries/models/atividade_economica/fact_fatocp.sql +++ b/queries/models/atividade_economica/fact_fatocp.sql @@ -9,4 +9,4 @@ SELECT SAFE_CAST(ID_TipoContribuint AS STRING) AS ID_TipoContribuint, SAFE_CAST(ID_TipoSolicitacao AS STRING) AS ID_TipoSolicitacao -FROM `rj-iplanrio.alvaras_staging.fact_fatocp` \ No newline at end of file +FROM `rj-smfp.atividade_economica_staging.fact_fatocp` \ No newline at end of file diff --git a/queries/models/atividade_economica/tab_alvara.sql b/queries/models/atividade_economica/tab_alvara.sql index 063944a..8933a6f 100644 --- a/queries/models/atividade_economica/tab_alvara.sql +++ b/queries/models/atividade_economica/tab_alvara.sql @@ -19,4 +19,4 @@ SELECT SAFE_CAST(DSC_Numero AS FLOAT64) AS DSC_Numero, SAFE_CAST(DSC_AlvaraLiberado AS STRING) AS DSC_AlvaraLiberado -FROM `rj-iplanrio.alvaras_staging.tab_alvara` \ No newline at end of file +FROM `rj-smfp.atividade_economica_staging.tab_alvara` \ No newline at end of file diff --git a/queries/models/atividade_economica/tab_atvprocesso.sql b/queries/models/atividade_economica/tab_atvprocesso.sql index 4d2f84b..ab363c3 100644 --- a/queries/models/atividade_economica/tab_atvprocesso.sql +++ b/queries/models/atividade_economica/tab_atvprocesso.sql @@ -4,4 +4,4 @@ SELECT SAFE_CAST(DSC_RespAtividade AS STRING) AS DSC_RespAtividade, SAFE_CAST(DSC_RefAtividade AS STRING) AS DSC_RefAtividade -FROM `rj-iplanrio.alvaras_staging.tab_atvprocesso` \ No newline at end of file +FROM `rj-smfp.atividade_economica_staging.tab_atvprocesso` \ No newline at end of file diff --git a/queries/models/atividade_economica/tab_cae.sql b/queries/models/atividade_economica/tab_cae.sql index aa66752..81febd6 100644 --- a/queries/models/atividade_economica/tab_cae.sql +++ b/queries/models/atividade_economica/tab_cae.sql @@ -4,4 +4,4 @@ SELECT SAFE_CAST(ID_TipoAtividade AS STRING) AS ID_TipoAtividade, SAFE_CAST(DSC_TipoAtividade AS STRING) AS DSC_TipoAtividade -FROM `rj-iplanrio.alvaras_staging.tab_cae` \ No newline at end of file +FROM `rj-smfp.atividade_economica_staging.tab_cae` \ No newline at end of file diff --git a/queries/models/atividade_economica/tab_cnae.sql b/queries/models/atividade_economica/tab_cnae.sql index fc157dc..eb21462 100644 --- a/queries/models/atividade_economica/tab_cnae.sql +++ b/queries/models/atividade_economica/tab_cnae.sql @@ -2,4 +2,4 @@ SELECT SAFE_CAST(ID_CNAE AS STRING) AS ID_CNAE, SAFE_CAST(DSC_CNAE AS STRING) AS DSC_CNAE -FROM `rj-iplanrio.alvaras_staging.tab_cnae` \ No newline at end of file +FROM `rj-smfp.atividade_economica_staging.tab_cnae` \ No newline at end of file diff --git a/queries/models/atividade_economica/tab_consulta.sql b/queries/models/atividade_economica/tab_consulta.sql index c894370..5610bb9 100644 --- a/queries/models/atividade_economica/tab_consulta.sql +++ b/queries/models/atividade_economica/tab_consulta.sql @@ -10,4 +10,4 @@ SELECT SAFE_CAST(DSC_TipoAnalise_cp AS STRING) AS DSC_TipoAnalise_cp, SAFE_CAST(DSC_Status_cp AS STRING) AS DSC_Status_cp -FROM `rj-iplanrio.alvaras_staging.tab_consulta` \ No newline at end of file +FROM `rj-smfp.atividade_economica_staging.tab_consulta` \ No newline at end of file diff --git a/queries/models/atividade_economica/tab_direcionamento.sql b/queries/models/atividade_economica/tab_direcionamento.sql index ff71845..8562965 100644 --- a/queries/models/atividade_economica/tab_direcionamento.sql +++ b/queries/models/atividade_economica/tab_direcionamento.sql @@ -2,4 +2,4 @@ SELECT SAFE_CAST(ID_Direcionamento AS STRING) AS ID_Direcionamento, SAFE_CAST(DSC_Direcionamento AS STRING) AS DSC_Direcionamento -FROM `rj-iplanrio.alvaras_staging.tab_direcionamento` \ No newline at end of file +FROM `rj-smfp.atividade_economica_staging.tab_direcionamento` \ No newline at end of file diff --git a/queries/models/atividade_economica/tab_tipocontribuinte_tipocontribuint.sql b/queries/models/atividade_economica/tab_tipocontribuinte_tipocontribuint.sql index 44d4fab..6916abc 100644 --- a/queries/models/atividade_economica/tab_tipocontribuinte_tipocontribuint.sql +++ b/queries/models/atividade_economica/tab_tipocontribuinte_tipocontribuint.sql @@ -1,4 +1,4 @@ SELECT SAFE_CAST(ID_TipoContribuint AS STRING) AS ID_TipoContribuint, SAFE_CAST(DSC_TipoContribuint AS STRING) AS DSC_TipoContribuint -FROM `rj-iplanrio.alvaras_staging.tab_tipocontribuinte_tipocontribuint` \ No newline at end of file +FROM `rj-smfp.atividade_economica_staging.tab_tipocontribuinte_tipocontribuint` \ No newline at end of file diff --git a/queries/models/atividade_economica/tab_tiposolicitacao.sql b/queries/models/atividade_economica/tab_tiposolicitacao.sql index 5b37c83..6aff1db 100644 --- a/queries/models/atividade_economica/tab_tiposolicitacao.sql +++ b/queries/models/atividade_economica/tab_tiposolicitacao.sql @@ -2,4 +2,4 @@ SELECT SAFE_CAST(ID_TipoSolicitacao AS STRING) AS ID_TipoSolicitacao, SAFE_CAST(DSC_TipoSolicitacao AS STRING) AS DSC_TipoSolicitacao -FROM `rj-iplanrio.alvaras_staging.tab_tiposolicitacao` \ No newline at end of file +FROM `rj-smfp.atividade_economica_staging.tab_tiposolicitacao` \ No newline at end of file From 9c8c189c63c1006702cc3b6e5f27a5ac97756f33 Mon Sep 17 00:00:00 2001 From: PedroSiqueira1 Date: Wed, 30 Oct 2024 11:49:16 -0300 Subject: [PATCH 2/8] Dummy commit to registrer flow --- pipelines/atividade_economica/dump_db/schedules.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pipelines/atividade_economica/dump_db/schedules.py b/pipelines/atividade_economica/dump_db/schedules.py index b396c3b..dbf7078 100644 --- a/pipelines/atividade_economica/dump_db/schedules.py +++ b/pipelines/atividade_economica/dump_db/schedules.py @@ -222,3 +222,4 @@ ) alvaras_infra_daily_update_schedule = Schedule(clocks=untuple(alvaras_infra_clocks)) + From b9c81ad852b2cc8d14ceb3591022e8b97f9f534b Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 30 Oct 2024 14:49:27 +0000 Subject: [PATCH 3/8] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- pipelines/atividade_economica/dump_db/schedules.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pipelines/atividade_economica/dump_db/schedules.py b/pipelines/atividade_economica/dump_db/schedules.py index dbf7078..b396c3b 100644 --- a/pipelines/atividade_economica/dump_db/schedules.py +++ b/pipelines/atividade_economica/dump_db/schedules.py @@ -222,4 +222,3 @@ ) alvaras_infra_daily_update_schedule = Schedule(clocks=untuple(alvaras_infra_clocks)) - From e335fe01ebd113fbfcd40e32d71fb82dbcb9d55b Mon Sep 17 00:00:00 2001 From: PedroSiqueira1 Date: Wed, 30 Oct 2024 11:52:37 -0300 Subject: [PATCH 4/8] Dummy commit to registrer new models --- pipelines/templates/run_dbt_model/flows.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipelines/templates/run_dbt_model/flows.py b/pipelines/templates/run_dbt_model/flows.py index 2c36ed3..0f8db74 100644 --- a/pipelines/templates/run_dbt_model/flows.py +++ b/pipelines/templates/run_dbt_model/flows.py @@ -35,4 +35,4 @@ default_parameters=templates_run_dbt_model_smas_default_parameters, ) -# add comment to trigger build +# add comment to trigger build From ae12db2f19fd2118ee851fc13a27935920827700 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 30 Oct 2024 14:53:26 +0000 Subject: [PATCH 5/8] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- pipelines/templates/run_dbt_model/flows.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipelines/templates/run_dbt_model/flows.py b/pipelines/templates/run_dbt_model/flows.py index 0f8db74..2c36ed3 100644 --- a/pipelines/templates/run_dbt_model/flows.py +++ b/pipelines/templates/run_dbt_model/flows.py @@ -35,4 +35,4 @@ default_parameters=templates_run_dbt_model_smas_default_parameters, ) -# add comment to trigger build +# add comment to trigger build From 5b401505e997d6792deb927f4adf6eb260c2164c Mon Sep 17 00:00:00 2001 From: d116626 Date: Wed, 30 Oct 2024 12:34:39 -0300 Subject: [PATCH 6/8] chore: downgrade prefeitura-rio version --- pipelines/atividade_economica/dump_db/flows.py | 2 +- pipelines/templates/run_dbt_model/flows.py | 2 +- poetry.lock | 18 +++++++++--------- pyproject.toml | 2 +- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/pipelines/atividade_economica/dump_db/flows.py b/pipelines/atividade_economica/dump_db/flows.py index e7d77f0..bde8707 100644 --- a/pipelines/atividade_economica/dump_db/flows.py +++ b/pipelines/atividade_economica/dump_db/flows.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- """ -Database dumping flows for alvaras. +Database dumping flows for alvaras.. """ from copy import deepcopy diff --git a/pipelines/templates/run_dbt_model/flows.py b/pipelines/templates/run_dbt_model/flows.py index 2c36ed3..0b78abe 100644 --- a/pipelines/templates/run_dbt_model/flows.py +++ b/pipelines/templates/run_dbt_model/flows.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- """ -MATERIALIZA MODELOS DO DBT........... +MATERIALIZA MODELOS DO DBT............ """ from copy import deepcopy diff --git a/poetry.lock b/poetry.lock index f535ab5..9f48c38 100644 --- a/poetry.lock +++ b/poetry.lock @@ -102,13 +102,13 @@ files = [ [[package]] name = "basedosdados" -version = "2.0.0b21" +version = "2.0.0b22" description = "Organizar e facilitar o acesso a dados brasileiros através de tabelas públicas no BigQuery." optional = false python-versions = "<4,>=3.8.1" files = [ - {file = "basedosdados-2.0.0b21-py3-none-any.whl", hash = "sha256:433b3551c8fa72b2ca13ee1a6080eca06a5c360c7b09c6da4a2f2b18046db3a2"}, - {file = "basedosdados-2.0.0b21.tar.gz", hash = "sha256:04d136dc13c9a9cc390e8092065bbd9590a08cf418bb0bcba007d2c579d20cad"}, + {file = "basedosdados-2.0.0b22-py3-none-any.whl", hash = "sha256:1de7a03eacb382fe536956cca8a28b4359d4c9c2007ce7b8e4b7993127cd1c2d"}, + {file = "basedosdados-2.0.0b22.tar.gz", hash = "sha256:87140b54c334e30dbba9328b591927df5c31f47b49d3749076b54196e833448c"}, ] [package.dependencies] @@ -2552,7 +2552,7 @@ files = [] develop = false [package.dependencies] -basedosdados = {version = "2.0.0b21", extras = ["upload"]} +basedosdados = {version = "2.0.0b22", extras = ["upload"]} croniter = {version = "^2.0.1", optional = true} cx-oracle = {version = "^8.3.0", optional = true} dask = {version = "^2023.11.0", optional = true} @@ -2580,17 +2580,17 @@ shapely = {version = "^2.0.2", optional = true} [package.extras] actions = ["ruamel-yaml (>=0.18.6,<0.19.0)"] -all = ["aiohttp (>=3.8.5,<4.0.0)", "basedosdados[upload] (==2.0.0b21)", "croniter (>=2.0.1,<3.0.0)", "cx-oracle (>=8.3.0,<9.0.0)", "dask (>=2023.11.0,<2024.0.0)", "earthengine-api (>=0.1.379,<0.2.0)", "geojsplit (>=0.1.2,<0.2.0)", "geopandas (>=0.14.1,<0.15.0)", "geopy (>=2.4.1,<3.0.0)", "google-cloud-storage (>=2.10.0,<3.0.0)", "gspread (>=5.12.4,<6.0.0)", "infisical (>=1.4.2,<1.6)", "jinja2 (>=3.1.2,<4.0.0)", "numpy (>=1.23.3,<2.0.0)", "pandas (>=2.0.3,<3.0.0)", "pendulum (>=2.1.2,<3.0.0)", "prefect (==1.4.1)", "pymongo (>=4.6.0,<5.0.0)", "pymysql (>=1.1.0,<2.0.0)", "pyodbc (>=5.0.1,<6.0.0)", "pytz (>=2023.3,<2024.0)", "redis-pal (>=1.0.0,<2.0.0)", "requests (>=2.31.0,<3.0.0)", "ruamel-yaml (>=0.18.6,<0.19.0)", "scikit-learn (>=1.1.2,<2.0.0)", "sentry-sdk (>=1.29.2,<2.0.0)", "shapely (>=2.0.2,<3.0.0)"] +all = ["aiohttp (>=3.8.5,<4.0.0)", "basedosdados[upload] (==2.0.0b22)", "croniter (>=2.0.1,<3.0.0)", "cx-oracle (>=8.3.0,<9.0.0)", "dask (>=2023.11.0,<2024.0.0)", "earthengine-api (>=0.1.379,<0.2.0)", "geojsplit (>=0.1.2,<0.2.0)", "geopandas (>=0.14.1,<0.15.0)", "geopy (>=2.4.1,<3.0.0)", "google-cloud-storage (>=2.10.0,<3.0.0)", "gspread (>=5.12.4,<6.0.0)", "infisical (>=1.4.2,<1.6)", "jinja2 (>=3.1.2,<4.0.0)", "numpy (>=1.23.3,<2.0.0)", "pandas (>=2.0.3,<3.0.0)", "pendulum (>=2.1.2,<3.0.0)", "prefect (==1.4.1)", "pymongo (>=4.6.0,<5.0.0)", "pymysql (>=1.1.0,<2.0.0)", "pyodbc (>=5.0.1,<6.0.0)", "pytz (>=2023.3,<2024.0)", "redis-pal (>=1.0.0,<2.0.0)", "requests (>=2.31.0,<3.0.0)", "ruamel-yaml (>=0.18.6,<0.19.0)", "scikit-learn (>=1.1.2,<2.0.0)", "sentry-sdk (>=1.29.2,<2.0.0)", "shapely (>=2.0.2,<3.0.0)"] metrics = ["numpy (>=1.23.3,<2.0.0)", "scikit-learn (>=1.1.2,<2.0.0)"] -pipelines = ["basedosdados[upload] (==2.0.0b21)", "dask (>=2023.11.0,<2024.0.0)", "google-cloud-storage (>=2.10.0,<3.0.0)", "infisical (>=1.4.2,<1.6)", "jinja2 (>=3.1.2,<4.0.0)", "pandas (>=2.0.3,<3.0.0)", "prefect (==1.4.1)", "sentry-sdk (>=1.29.2,<2.0.0)"] +pipelines = ["basedosdados[upload] (==2.0.0b22)", "dask (>=2023.11.0,<2024.0.0)", "google-cloud-storage (>=2.10.0,<3.0.0)", "infisical (>=1.4.2,<1.6)", "jinja2 (>=3.1.2,<4.0.0)", "pandas (>=2.0.3,<3.0.0)", "prefect (==1.4.1)", "ruamel-yaml (>=0.18.6,<0.19.0)", "sentry-sdk (>=1.29.2,<2.0.0)"] pipelines-templates = ["croniter (>=2.0.1,<3.0.0)", "cx-oracle (>=8.3.0,<9.0.0)", "earthengine-api (>=0.1.379,<0.2.0)", "geojsplit (>=0.1.2,<0.2.0)", "geopandas (>=0.14.1,<0.15.0)", "geopy (>=2.4.1,<3.0.0)", "gspread (>=5.12.4,<6.0.0)", "jinja2 (>=3.1.2,<4.0.0)", "psycopg2-binary (>=2.9.9,<3.0.0)", "pymongo (>=4.6.0,<5.0.0)", "pymysql (>=1.1.0,<2.0.0)", "pyodbc (>=5.0.1,<6.0.0)", "redis-pal (>=1.0.0,<2.0.0)", "requests (>=2.31.0,<3.0.0)", "shapely (>=2.0.2,<3.0.0)"] sgrc = ["aiohttp (>=3.8.5,<4.0.0)", "pendulum (>=2.1.2,<3.0.0)", "pytz (>=2023.3,<2024.0)", "requests (>=2.31.0,<3.0.0)"] [package.source] type = "git" url = "https://github.com/prefeitura-rio/prefeitura-rio" -reference = "ca35737d82ad16be378c68808d6d69359b753685" -resolved_reference = "ca35737d82ad16be378c68808d6d69359b753685" +reference = "2f6a5b9cfae4e214e694346a87c3ffbbe0954a70" +resolved_reference = "2f6a5b9cfae4e214e694346a87c3ffbbe0954a70" [[package]] name = "proto-plus" @@ -4293,4 +4293,4 @@ testing = ["big-O", "jaraco.functools", "jaraco.itertools", "more-itertools", "p [metadata] lock-version = "2.0" python-versions = ">=3.10,<3.11" -content-hash = "13b4a3fc518fa0a7d4774a714d541da63ff5b1f6aa4df4f9d4b75079a95ca8ac" +content-hash = "a1b82c2ac1ec5f6ccdab1725c6784a6aa0b098a66fdc5553cd735a45ec7019e0" diff --git a/pyproject.toml b/pyproject.toml index 8414366..414c681 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ dbt-bigquery = "^1.6.1" google-cloud-storage = "^2.10.0" pendulum = "^3.0.0" prefect = "1.4.1" -prefeitura-rio = {git = "https://github.com/prefeitura-rio/prefeitura-rio", rev = "ca35737d82ad16be378c68808d6d69359b753685", extras = [ +prefeitura-rio = {git = "https://github.com/prefeitura-rio/prefeitura-rio", rev = "2f6a5b9cfae4e214e694346a87c3ffbbe0954a70", extras = [ "pipelines", "pipelines-templates", "actions", From d5be0f54f1e71ade96acaf5d52281a5e70b3de3d Mon Sep 17 00:00:00 2001 From: d116626 Date: Wed, 30 Oct 2024 13:29:36 -0300 Subject: [PATCH 7/8] chore: pump prefeitura-rio version --- pipelines/atividade_economica/dump_db/flows.py | 2 +- pipelines/templates/run_dbt_model/flows.py | 2 +- poetry.lock | 6 +++--- pyproject.toml | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pipelines/atividade_economica/dump_db/flows.py b/pipelines/atividade_economica/dump_db/flows.py index bde8707..3a0e6e3 100644 --- a/pipelines/atividade_economica/dump_db/flows.py +++ b/pipelines/atividade_economica/dump_db/flows.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- """ -Database dumping flows for alvaras.. +Database dumping flows for alvaras... """ from copy import deepcopy diff --git a/pipelines/templates/run_dbt_model/flows.py b/pipelines/templates/run_dbt_model/flows.py index 0b78abe..aa5d953 100644 --- a/pipelines/templates/run_dbt_model/flows.py +++ b/pipelines/templates/run_dbt_model/flows.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- """ -MATERIALIZA MODELOS DO DBT............ +MATERIALIZA MODELOS DO DBT............. """ from copy import deepcopy diff --git a/poetry.lock b/poetry.lock index 9f48c38..17bf311 100644 --- a/poetry.lock +++ b/poetry.lock @@ -2589,8 +2589,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 = "2f6a5b9cfae4e214e694346a87c3ffbbe0954a70" -resolved_reference = "2f6a5b9cfae4e214e694346a87c3ffbbe0954a70" +reference = "cd69b6d30b6c4b187ba4d72e4d956e8c1b4d8072" +resolved_reference = "cd69b6d30b6c4b187ba4d72e4d956e8c1b4d8072" [[package]] name = "proto-plus" @@ -4293,4 +4293,4 @@ testing = ["big-O", "jaraco.functools", "jaraco.itertools", "more-itertools", "p [metadata] lock-version = "2.0" python-versions = ">=3.10,<3.11" -content-hash = "a1b82c2ac1ec5f6ccdab1725c6784a6aa0b098a66fdc5553cd735a45ec7019e0" +content-hash = "0b064e4845a6d69412aab603f21da69b1965e82bc4bda556dbc8a72b895cc2dd" diff --git a/pyproject.toml b/pyproject.toml index 414c681..7bfe05c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ dbt-bigquery = "^1.6.1" google-cloud-storage = "^2.10.0" pendulum = "^3.0.0" prefect = "1.4.1" -prefeitura-rio = {git = "https://github.com/prefeitura-rio/prefeitura-rio", rev = "2f6a5b9cfae4e214e694346a87c3ffbbe0954a70", extras = [ +prefeitura-rio = {git = "https://github.com/prefeitura-rio/prefeitura-rio", rev = "cd69b6d30b6c4b187ba4d72e4d956e8c1b4d8072", extras = [ "pipelines", "pipelines-templates", "actions", From 994ba2b83f5e988995d6e7c0db6b011b90b76a6a Mon Sep 17 00:00:00 2001 From: d116626 Date: Wed, 30 Oct 2024 14:29:46 -0300 Subject: [PATCH 8/8] chore: add pyodbc timeout of 300 seconds --- pipelines/atividade_economica/dump_db/flows.py | 2 +- pipelines/ergon/dump_db_ergon/flows.py | 2 +- pipelines/templates/run_dbt_model/flows.py | 2 +- poetry.lock | 6 +++--- pyproject.toml | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/pipelines/atividade_economica/dump_db/flows.py b/pipelines/atividade_economica/dump_db/flows.py index 3a0e6e3..ededf48 100644 --- a/pipelines/atividade_economica/dump_db/flows.py +++ b/pipelines/atividade_economica/dump_db/flows.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- """ -Database dumping flows for alvaras... +Database dumping flows for alvaras.... """ from copy import deepcopy diff --git a/pipelines/ergon/dump_db_ergon/flows.py b/pipelines/ergon/dump_db_ergon/flows.py index 25d4c3b..1e0625b 100644 --- a/pipelines/ergon/dump_db_ergon/flows.py +++ b/pipelines/ergon/dump_db_ergon/flows.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- """ -Database dumping flows for segovi project......... +Database dumping flows for segovi project.......... """ from copy import deepcopy diff --git a/pipelines/templates/run_dbt_model/flows.py b/pipelines/templates/run_dbt_model/flows.py index aa5d953..231c91e 100644 --- a/pipelines/templates/run_dbt_model/flows.py +++ b/pipelines/templates/run_dbt_model/flows.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- """ -MATERIALIZA MODELOS DO DBT............. +MATERIALIZA MODELOS DO DBT.............. """ from copy import deepcopy diff --git a/poetry.lock b/poetry.lock index 17bf311..bda4014 100644 --- a/poetry.lock +++ b/poetry.lock @@ -2589,8 +2589,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 = "cd69b6d30b6c4b187ba4d72e4d956e8c1b4d8072" -resolved_reference = "cd69b6d30b6c4b187ba4d72e4d956e8c1b4d8072" +reference = "aeef75e29b7f7bbe83ab9252c50e87c0016e7e77" +resolved_reference = "aeef75e29b7f7bbe83ab9252c50e87c0016e7e77" [[package]] name = "proto-plus" @@ -4293,4 +4293,4 @@ testing = ["big-O", "jaraco.functools", "jaraco.itertools", "more-itertools", "p [metadata] lock-version = "2.0" python-versions = ">=3.10,<3.11" -content-hash = "0b064e4845a6d69412aab603f21da69b1965e82bc4bda556dbc8a72b895cc2dd" +content-hash = "d14f1142e7807e8e8f5cf8bce830ef58cfeb7ea462864f913c655d582148c36e" diff --git a/pyproject.toml b/pyproject.toml index 7bfe05c..37599f1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ dbt-bigquery = "^1.6.1" google-cloud-storage = "^2.10.0" pendulum = "^3.0.0" prefect = "1.4.1" -prefeitura-rio = {git = "https://github.com/prefeitura-rio/prefeitura-rio", rev = "cd69b6d30b6c4b187ba4d72e4d956e8c1b4d8072", extras = [ +prefeitura-rio = {git = "https://github.com/prefeitura-rio/prefeitura-rio", rev = "aeef75e29b7f7bbe83ab9252c50e87c0016e7e77", extras = [ "pipelines", "pipelines-templates", "actions",