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

Yu Ishikawa updated AIRFLOW-1330:
---------------------------------
    Description: 
h2. Overview

{{Connection.parse_from_uri}} doesn't work for some types like 
{{google_cloud_platform}} whose type name includes under scores. Since 
`urllib.parse.urlparse()` which is used in {{Connection.parse_from_url}} 
doesn't support a schema name which include under scores.

So, airflow's CLI doesn't work when a given connection URI includes under 
scores like {{google_cloud_platform://XXXXX}}.

h3. Workaround
https://medium.com/@yuu.ishikawa/apache-airflow-how-to-add-a-connection-to-google-cloud-with-cli-af2cc8df138d

  was:
h2. Overview

{{Connection.parse_from_uri}} doesn't work for some types like 
{{google_cloud_platform}} whose type name includes under scores. Since 
`urllib.parse.urlparse()` which is used in {{Connection.parse_from_url}} 
doesn't support a schema name which include under scores.

So, airflow's CLI doesn't work when a given connection URI includes under 
scores like {{google_cloud_platform://XXXXX}}.


> Connection.parse_from_uri doesn't work for google_cloud_platform and so on
> --------------------------------------------------------------------------
>
>                 Key: AIRFLOW-1330
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1330
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: cli
>            Reporter: Yu Ishikawa
>            Assignee: Shintaro Murakami
>
> h2. Overview
> {{Connection.parse_from_uri}} doesn't work for some types like 
> {{google_cloud_platform}} whose type name includes under scores. Since 
> `urllib.parse.urlparse()` which is used in {{Connection.parse_from_url}} 
> doesn't support a schema name which include under scores.
> So, airflow's CLI doesn't work when a given connection URI includes under 
> scores like {{google_cloud_platform://XXXXX}}.
> h3. Workaround
> https://medium.com/@yuu.ishikawa/apache-airflow-how-to-add-a-connection-to-google-cloud-with-cli-af2cc8df138d



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to