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

Daniel Standish updated AIRFLOW-5751:
-------------------------------------
    Description: 
Airflow can either use connections stored in database stored in URI form in 
environment variables.

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. 



  was:
Airflow can either use connections stored in database stored in URI form in 
environment variables.

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.


> add get_uri method to Connection object
> ---------------------------------------
>
>                 Key: AIRFLOW-5751
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-5751
>             Project: Apache Airflow
>          Issue Type: New Feature
>          Components: core
>    Affects Versions: 1.10.5
>            Reporter: Daniel Standish
>            Assignee: Daniel Standish
>            Priority: Major
>
> Airflow can either use connections stored in database stored in URI form in 
> environment variables.
> 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
(v8.3.4#803005)

Reply via email to