turbaszek commented on a change in pull request #10930:
URL: https://github.com/apache/airflow/pull/10930#discussion_r489375827



##########
File path: airflow/example_dags/example_xcomargs.py
##########
@@ -66,4 +66,4 @@ def print_value(value):
     xcom_args_a = print_value("first!")  # type: ignore
     xcom_args_b = print_value("second!")  # type: ignore
 
-    bash_op1 >> xcom_args_a >> xcom_args_b >> bash_op2
+    bash_op1 >> xcom_args_a >> xcom_args_b >> bash_op2  # type: ignore

Review comment:
       Both `@task` and `@task()` works, however the type annotation of this 
decorator seems to be confusing mypy (althought it looks valid to me)




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to