mik-laj commented on a change in pull request #7217: [WIP] [AIRFLOW-NNNN] Store DAG's source code in the serialized_dag table URL: https://github.com/apache/airflow/pull/7217#discussion_r382630100
########## File path: airflow/models/__init__.py ########## @@ -43,3 +43,19 @@ # Must be loaded after loading DAG model. # noinspection PyUnresolvedReferences import airflow.jobs # noqa: F401 isort # isort:skip + + +def dag_fileloc_hash(full_filepath: str) -> int: Review comment: We don't put the code in __init__.py. We used to do it and now we have serious problems with cyclical imports. ---------------------------------------------------------------- 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] With regards, Apache Git Services
