ashb commented on code in PR #51153:
URL: https://github.com/apache/airflow/pull/51153#discussion_r2123333028


##########
task-sdk/src/airflow/sdk/bases/operator.py:
##########
@@ -77,9 +77,7 @@
 
     import jinja2
 
-    from airflow.sdk.definitions.context import Context
-    from airflow.sdk.definitions.dag import DAG
-    from airflow.sdk.definitions.taskgroup import TaskGroup
+    from airflow.sdk import DAG, Context, TaskGroup

Review Comment:
   Generally from wihthin the SDK we import it via the full path, not the 
helper.
   
   What wasn't right with this as they were? 



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