[ https://issues.apache.org/jira/browse/AIRFLOW-2824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Uellendall updated AIRFLOW-2824: -------------------------------------- Description: I would love to have a variable I can set in the airflow.cfg, like the DAG examples have, to not load the default connections. Either by using {{load_examples}} that is already [there|https://github.com/apache/incubator-airflow/blob/dfa7b26ddaca80ee8fd9915ee9f6eac50fac77f6/airflow/config_templates/default_airflow.cfg#L128] for loading dag examples or by a new one like {{load_default_connections}} to check if the user wants to have it or not. The implementation of the default connections starts [here|https://github.com/apache/incubator-airflow/blob/9e1d8ee837ea2c23e828d070b6a72a6331d98602/airflow/utils/db.py#L94] Let me know what you guys think of it, pls. :) was: I would love to have a variable I can set in the airflow.cfg, like the DAG examples have, to not load the default connections. Either by using {{load_examples}} that is already there for loading of dag examples or by a new one like {{load_default_connections}} to check if the user wants to have it or not. The implementation of the default connections starts [here|https://github.com/apache/incubator-airflow/blob/9e1d8ee837ea2c23e828d070b6a72a6331d98602/airflow/utils/db.py#L94] Let me know what you guys think of it, pls. :) > Disable loading of default connections via airflow config > --------------------------------------------------------- > > Key: AIRFLOW-2824 > URL: https://issues.apache.org/jira/browse/AIRFLOW-2824 > Project: Apache Airflow > Issue Type: New Feature > Reporter: Felix Uellendall > Priority: Major > > I would love to have a variable I can set in the airflow.cfg, like the DAG > examples have, to not load the default connections. > Either by using {{load_examples}} that is already > [there|https://github.com/apache/incubator-airflow/blob/dfa7b26ddaca80ee8fd9915ee9f6eac50fac77f6/airflow/config_templates/default_airflow.cfg#L128] > for loading dag examples or by a new one like {{load_default_connections}} > to check if the user wants to have it or not. > The implementation of the default connections starts > [here|https://github.com/apache/incubator-airflow/blob/9e1d8ee837ea2c23e828d070b6a72a6331d98602/airflow/utils/db.py#L94] > Let me know what you guys think of it, pls. :) -- This message was sent by Atlassian JIRA (v7.6.3#76005)