From ad3d02205f26d7e60f42fcf7bade2831b4697d43 Mon Sep 17 00:00:00 2001 From: Shahar Epstein <60007259+shahar1@users.noreply.github.com> Date: Sat, 14 Dec 2024 08:51:47 +0200 Subject: [PATCH] Fix static checks in common SQL hooks (#44930) --- providers/src/airflow/providers/common/sql/hooks/handlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/providers/src/airflow/providers/common/sql/hooks/handlers.py b/providers/src/airflow/providers/common/sql/hooks/handlers.py index b399dc0023f6f..e1b5fa33b91e7 100644 --- a/providers/src/airflow/providers/common/sql/hooks/handlers.py +++ b/providers/src/airflow/providers/common/sql/hooks/handlers.py @@ -19,7 +19,7 @@ from collections.abc import Iterable -def return_single_query_results(sql: str | Iterable[str], return_last: bool, split_statements: bool): +def return_single_query_results(sql: str | Iterable[str], return_last: bool, split_statements: bool | None): """ Determine when results of single query only should be returned.