You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/10/16 20:49:12 UTC

[GitHub] [airflow] ashb commented on pull request #11596: Allow loading plugins on Airflow start-up

ashb commented on pull request #11596:
URL: https://github.com/apache/airflow/pull/11596#issuecomment-710607306


   > >  allow creating more tables when running airflow db upgrade via plugins for which it is needed that the plugin is loaded when Scheduler starts.
   > 
   > I still don't understand the use cases for this option. Why do we want to load plugins always and we can't do it on a specific case? If this is due to database migrations, then we can add loading plugins when the database is initialized.
   
   There is more cases then just db migrations - plugins wanting to do start up initialization, or preloading modules used in all dags as https://github.com/apache/airflow/pull/11596#issuecomment-710474026 was hinting it (he mentioned more explicitly in slack).
   
   This is a workaround until we add a richer plugin system to Airflow, but it is not onerous to support.


----------------------------------------------------------------
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:
users@infra.apache.org