From 1c6ab6cbb9fef0b6140efe7896b63bfb334ebebc Mon Sep 17 00:00:00 2001 From: ErnestaP Date: Thu, 1 Aug 2024 16:52:14 +0200 Subject: [PATCH] comment --- dags/open_access/open_access.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dags/open_access/open_access.py b/dags/open_access/open_access.py index a048591..532fc59 100644 --- a/dags/open_access/open_access.py +++ b/dags/open_access/open_access.py @@ -66,10 +66,10 @@ def fetch_green_open_access_count(query_object, gold_access, **kwargs): ) @task(executor_config=kubernetes_executor_config) - def add_year(green_access, **kwargs): + def add_year(closed_bronze_gold_green_access, **kwargs): year = kwargs["params"].get("year") - green_access["year"] = year - return green_access + closed_bronze_gold_green_access["year"] = year + return closed_bronze_gold_green_access results = add_year(closed_bronze_gold_green_access)