kaxil commented on a change in pull request #15311:
URL: https://github.com/apache/airflow/pull/15311#discussion_r613462536
##########
File path: airflow/models/serialized_dag.py
##########
@@ -37,9 +37,12 @@
from airflow.utils import timezone
from airflow.utils.session import provide_session
from airflow.utils.sqlalchemy import UtcDateTime
+from airflow.www.security import SimpleAirflowSecurityManager
log = logging.getLogger(__name__)
+security_manager = SimpleAirflowSecurityManager()
Review comment:
We should probably move this to `write_dag` too otherwise import
anything from `airflow/models/serialized_dag.py` will just need an extra second
needlessly
--
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]