gopidesupavan commented on code in PR #52165:
URL: https://github.com/apache/airflow/pull/52165#discussion_r2164173501
##########
providers/ydb/tests/system/ydb/example_ydb.py:
##########
@@ -110,7 +110,7 @@ def transform_dates(**kwargs):
# [END ydb_operator_howto_guide_get_all_pets]
transform_dates = PythonOperator(
task_id="transform_dates",
- python_callable=transform_dates,
+ python_callable=transform_dates_func,
Review Comment:
had to rename that, mypy is not happy with the task name `transform_dates`
and python_callable arg `transform_dates` are same.
```
providers/ydb/tests/system/ydb/example_ydb.py:111: error: Incompatible types
in
assignment (expression has type "PythonOperator", variable has type
"Callable[[KwArg(Any)], Any]") [assignment]
transform_dates = PythonOperator(
^
```
--
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]