You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Tejas (JIRA)" <ji...@apache.org> on 2018/07/09 12:34:00 UTC
[jira] [Created] (AIRFLOW-2727) Utils functions to create and
delete connections
Tejas created AIRFLOW-2727:
------------------------------
Summary: 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
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)