Taragolis commented on code in PR #39074:
URL: https://github.com/apache/airflow/pull/39074#discussion_r1590095563


##########
airflow/api_connexion/schemas/task_schema.py:
##########
@@ -26,14 +26,16 @@
     TimeDeltaSchema,
     WeightRuleField,
 )
-from airflow.api_connexion.schemas.dag_schema import DAGSchema
 from airflow.models.mappedoperator import MappedOperator
 
 if TYPE_CHECKING:
     from airflow.models.operator import Operator
 
+class SubDagMixin:
+    from airflow.api_connexion.schemas.dag_schema import DAGSchema

Review Comment:
   What is the purpose of move import inside of class definition?



-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to