airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (Jira)" <>
Subject [jira] [Commented] (AIRFLOW-5751) add get_uri method to Connection object
Date Wed, 18 Dec 2019 13:33:00 GMT


ASF subversion and git services commented on AIRFLOW-5751:

Commit 0966e93728cb2b0b582c6434c156522abc5a98a5 in airflow's branch refs/heads/v1-10-test
from Kaxil Naik
[;h=0966e93 ]

fixup! [AIRFLOW-5751] add get_uri method to Connection (#6426)

> add get_uri method to Connection object
> ---------------------------------------
>                 Key: AIRFLOW-5751
>                 URL:
>             Project: Apache Airflow
>          Issue Type: New Feature
>          Components: core
>    Affects Versions: 1.10.5
>            Reporter: Daniel Standish
>            Assignee: Daniel Standish
>            Priority: Major
>             Fix For: 1.10.7
> Airflow can either use connections stored in database stored in URI form in environment
> We can add a convenience method `get_uri` on `Connection` object to generate the URI
for a connection.  
> This can help users because sometimes it is a little tricky / not obvious how to generate
the URI format.
> I think it could also be nice if each hook had a `get_uri` method that would take all
relevant params and produce a correctly encoded URI.  If that were implemented, it could use
this function for that purpose. 

This message was sent by Atlassian Jira

View raw message