Apache Airflow DAG cannot import local module

前端 未结 3 1241
南笙
南笙 2021-01-01 10:48

I do not seem to understand how to import modules into an apache airflow DAG definition file. I would want to do this to be able to create a library which makes declaring ta

3条回答
  •  一个人的身影
    2021-01-01 11:17

    If you're working with git-sync and did not use at as an initContainer (only as a container or not at all) in kubernetes, then it is possible that the modules were not loaded into the webserver or scheduler.

提交回复
热议问题