mcepok opened a new pull request #14982: URL: https://github.com/apache/airflow/pull/14982
This solves the second issue mentioned in #13287 . The problem basically is, that currently only `from airflow.models import DAG` is recognized, but it's not unlikely, that e.g. `from airflow import models` followed by `models.DAG(...)` is used. This PR recognizes all ways of importing / using the DAG class, as long as it is not renamed (e.g. `from airflow.models import DAG as AirflowDAG`). -- 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. For queries about this service, please contact Infrastructure at: [email protected]
