From 292db5241ea3e33c85d5c71bd9f674159a288b2b Mon Sep 17 00:00:00 2001 From: kalyanr Date: Mon, 21 Oct 2024 10:12:44 +0530 Subject: [PATCH] fix mypy failure --- providers/src/airflow/providers/common/sql/sensors/sql.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/providers/src/airflow/providers/common/sql/sensors/sql.py b/providers/src/airflow/providers/common/sql/sensors/sql.py index e9cac16a00eae..ac7eb7b4a4005 100644 --- a/providers/src/airflow/providers/common/sql/sensors/sql.py +++ b/providers/src/airflow/providers/common/sql/sensors/sql.py @@ -70,7 +70,7 @@ def __init__( parameters: Mapping[str, Any] | None = None, success: Callable[[Any], bool] | None = None, failure: Callable[[Any], bool] | None = None, - selector: Callable[[tuple[Any]], Any] | None = itemgetter(0), + selector: Callable[[tuple[Any]], Any] = itemgetter(0), fail_on_empty: bool = False, hook_params: Mapping[str, Any] | None = None, **kwargs,