From 12a82df406fb610bd468eb1667a205f38693b5a8 Mon Sep 17 00:00:00 2001 From: malgorzatagwinner Date: Fri, 18 Oct 2024 14:24:59 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=8F=EF=B8=8F=20Fix=20years=20ago=20typo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/viadot/orchestration/prefect/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/viadot/orchestration/prefect/utils.py b/src/viadot/orchestration/prefect/utils.py index 89cf955bf..d31491cdc 100644 --- a/src/viadot/orchestration/prefect/utils.py +++ b/src/viadot/orchestration/prefect/utils.py @@ -76,7 +76,7 @@ def __init__( self.singular_patterns = { "last_day_of_month": r"last_day_of_(\w+)_(\d{4})", "x_units_ago_full_date": r"(\d+)_(years?|months?|days?)_ago_full_date", - "x__year": r"(\d+)_years_ago_year", + "x_years_ago_year": r"(\d+)_years_ago_year", } self.range_patterns = { "last_x_units": r"last_(\d+)_(years|months|days)",