[ 
https://issues.apache.org/jira/browse/AIRFLOW-2727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tejas updated AIRFLOW-2727:
---------------------------
    Fix Version/s: 1.10

> Utils functions to create and delete connections
> ------------------------------------------------
>
>                 Key: AIRFLOW-2727
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2727
>             Project: Apache Airflow
>          Issue Type: New Feature
>          Components: utils
>            Reporter: Tejas
>            Priority: Minor
>             Fix For: 1.10
>
>
> Currently Airflow CLI has options to add / delete connections. However, in 
> order to create connection based on conditions, BashOperator becomes 
> necessary. 
> In specific cases where the airflow is running inside Docker containers, 
> running the command becomes tedious.
> The same functionality can be re-built in 
> [utils/db.py|https://github.com/apache/incubator-airflow/blob/master/airflow/utils/db.py]
>  and reused in cli.py. This makes the create and delete connection functions 
> available easily as functions in DAGs.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to