From 6a3671960bcb691041552d8d30c91933ff86c963 Mon Sep 17 00:00:00 2001 From: Pedro Castro Date: Thu, 5 Oct 2023 09:39:54 -0300 Subject: [PATCH] rm tests --- .../datasets/br_cgu_servidores_executivo_federal/tasks.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pipelines/datasets/br_cgu_servidores_executivo_federal/tasks.py b/pipelines/datasets/br_cgu_servidores_executivo_federal/tasks.py index 936af60e9..a68f3fdc9 100644 --- a/pipelines/datasets/br_cgu_servidores_executivo_federal/tasks.py +++ b/pipelines/datasets/br_cgu_servidores_executivo_federal/tasks.py @@ -152,10 +152,10 @@ def get_next_date() -> datetime.date: "br_cgu_servidores_executivo_federal", "cadastro_servidores", "yy-mm", - "basedosdados-dev", + "basedosdados", ) year, month = last_date_in_bq.split("-") - # next_date = datetime.date(int(year), int(month), 1) + relativedelta(months=1) - return datetime.date(2023, 7, 1) + next_date = datetime.date(int(year), int(month), 1) + relativedelta(months=1) + return next_date