dabla commented on code in PR #59087:
URL: https://github.com/apache/airflow/pull/59087#discussion_r2634571187


##########
providers/standard/tests/unit/standard/decorators/test_python.py:
##########
@@ -24,18 +25,27 @@
 
 from airflow.models.taskinstance import TaskInstance
 from airflow.models.taskmap import TaskMap
-from airflow.providers.common.compat.sdk import AirflowException, XComNotFound
+from airflow.providers.common.compat.sdk import AirflowException, 
XComNotFound, task

Review Comment:
   It's the same, except task_decorator  is not used as the @task decorator 
itself on a method, but it's referencing the decorator on which tests are being 
peformed.
   
   I added @task from the the common compat shared module to allow decorating a 
python function as Airflow task for testing purposes.



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

Reply via email to