kaxil opened a new issue, #52141:
URL: https://github.com/apache/airflow/issues/52141

   Currently, 
[`models.BaseOperator`](https://github.com/apache/airflow/blob/887ac6b8610f2095e4a6df3799cca231cae4dde2/airflow-core/src/airflow/models/baseoperator.py#L80C7-L80C19)
 and 
[`models.DAG`](https://github.com/apache/airflow/blob/887ac6b8610f2095e4a6df3799cca231cae4dde2/airflow-core/src/airflow/models/dag.py#L308)
 use the Task SDK classes.
   
   This was done to maintain backwards-compat and to get 3.0 in a timely manner.
   
   However, we don't want to depend on Task SDK in the Scheduler or the 
API-server (`airflow-core` package) - at least not a required dependency.
   
   We only need to ensure we have enough information for the Scheduler & 
API-server for a DAG & the Operator. This is done via the SerializedDAG & 
SerializedBaseOp.
   
   So this task involves: figuring out how we can consolidate: `SerializedDAG`, 
`models.DAG` by not inheriting Task SDK; and same for `SerializedBaseOp` and 
`models.BaseOperator`


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