msoni1369 commented on code in PR #39074:
URL: https://github.com/apache/airflow/pull/39074#discussion_r1591925240
##########
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:
As I was getting cyclic dependency issues earlier that's why I moved the
import inside the function. We can move this import outside 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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]