From 4e2ac1903ec3967951a773e1e77dbe283f22e505 Mon Sep 17 00:00:00 2001 From: Pyaive Oleg Date: Tue, 11 May 2021 19:09:47 +0300 Subject: [PATCH] Fixed type annotations: it shows not the type of all args/kwargs, but the type of EACH one, so, it need to be 'Any'. --- airflow/models/dag.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/airflow/models/dag.py b/airflow/models/dag.py index 861d33f3592605..d1bf560de04054 100644 --- a/airflow/models/dag.py +++ b/airflow/models/dag.py @@ -2315,9 +2315,9 @@ def dag(*dag_args, **dag_kwargs): Accepts kwargs for operator kwarg. Can be used to parametrize DAGs. :param dag_args: Arguments for DAG object - :type dag_args: list + :type dag_args: Any :param dag_kwargs: Kwargs for DAG object. - :type dag_kwargs: dict + :type dag_kwargs: Any """ def wrapper(f: Callable):