From a70038223e4a516576cdbab353f4e59ac61e1657 Mon Sep 17 00:00:00 2001 From: Kalyan R Date: Sat, 26 Oct 2024 16:42:21 +0530 Subject: [PATCH] fix mypy failure (#43206) --- 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 e9cac16a00ea..ac7eb7b4a400 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,