1. Why does airflow dag not support reading directly from db, but reading from a local file The current way of discovering dag is scan local files and then synchronize to db. If I want to create a dag, I need to create a dag file in the scheduler dags_folder, and then synchronize the dag file to the web and worker. Why can't I store dag file to the db directly? then web, scheduler, and worker all obtain the dag file through the db?
2. Why is there no createDag api Why is there no api to create dag? as long as I call the api, dag information can be synchronized to db and the local files of web, scheduler and worker?
