uranusjr commented on code in PR #51229:
URL: https://github.com/apache/airflow/pull/51229#discussion_r2121263045


##########
task-sdk/src/airflow/sdk/definitions/asset/decorators.py:
##########
@@ -23,6 +23,7 @@
 import attrs
 
 from airflow.providers.standard.operators.python import PythonOperator
+from airflow.sdk.bases.decorator import _TaskDecorator

Review Comment:
   You can use `getattr(f, "_airflow_is_task_decorator", False)` to get rid of 
the import.



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