dabla commented on code in PR #61143:
URL: https://github.com/apache/airflow/pull/61143#discussion_r2756088417
##########
providers/common/sql/src/airflow/providers/common/sql/operators/generic_transfer.py:
##########
@@ -80,6 +83,7 @@ def __init__(
source_hook_params: dict | None = None,
destination_conn_id: str,
destination_hook_params: dict | None = None,
+ rows_processor: Callable[..., list[Any]] | None = None,
Review Comment:
Maybe put a comment why its typed like it’s now due to mypy not supporting
callable with list of rows and unpacked kwargs? I think typing it wrongly and
ignoring it afterwards will only make it more confussing, problem is the typing
we want to achieve here is not possible (yet) in mypy
--
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]