[ 
https://issues.apache.org/jira/browse/AIRFLOW-2824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16563690#comment-16563690
 ] 

Felix Uellendall commented on AIRFLOW-2824:
-------------------------------------------

Dont know, looks strange to me that it is called upgradedb when it does what 
you say.

But I guess I will use it for now but I personally do not like that it is 
called upgradedb and it is actually an init without "examples".

A doc patch would not be a fix but an improvement :)

> 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: Wish
>            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)

Reply via email to