diff --git a/src/viadot/orchestration/prefect/utils.py b/src/viadot/orchestration/prefect/utils.py index da1449db0..89cf955bf 100644 --- a/src/viadot/orchestration/prefect/utils.py +++ b/src/viadot/orchestration/prefect/utils.py @@ -111,8 +111,8 @@ def _generate_years( ] # Reversed to ascending order return result # noqa: RET504 if from_year and num_years: - result = [str(int(from_year) - i) for i in range(int(num_years))][ - ::-1 + result = [ + str(int(from_year) + i) for i in range(int(num_years)) ] # Ascending order return result # noqa: RET504 return []