uranusjr commented on code in PR #27599:
URL: https://github.com/apache/airflow/pull/27599#discussion_r1019951469
##########
airflow/providers/common/sql/operators/sql.py:
##########
@@ -619,14 +619,21 @@ class SQLCheckOperator(BaseSQLOperator):
ui_color = "#fff7e6"
def __init__(
- self, *, sql: str, conn_id: str | None = None, database: str | None =
None, **kwargs
+ self,
+ *,
+ sql: str,
+ conn_id: str | None = None,
+ database: str | None = None,
+ parameters: Union[Iterable, Mapping] | None = None,
Review Comment:
```suggestion
parameters: Iterable | Mapping | None = None,
```
##########
airflow/providers/common/sql/operators/sql.py:
##########
@@ -19,7 +19,7 @@
import ast
import re
-from typing import TYPE_CHECKING, Any, Callable, Iterable, Mapping, NoReturn,
Sequence, SupportsAbs
+from typing import TYPE_CHECKING, Any, Callable, Iterable, Mapping, NoReturn,
Sequence, SupportsAbs, Union
Review Comment:
```suggestion
from typing import TYPE_CHECKING, Any, Callable, Iterable, Mapping,
NoReturn, Sequence, SupportsAbs
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]