You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Sergio Kef (Jira)" <ji...@apache.org> on 2019/09/24 08:26:00 UTC

[jira] [Commented] (AIRFLOW-4749) airflow connections cli - --conn_password does not allow passwords starting with dash

    [ https://issues.apache.org/jira/browse/AIRFLOW-4749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16936549#comment-16936549 ] 

Sergio Kef commented on AIRFLOW-4749:
-------------------------------------

Does this not work for you?

[https://stackoverflow.com/questions/16174992/cant-get-argparse-to-read-quoted-string-with-dashes-in-it/16175115#16175115]

 

> airflow connections cli - --conn_password does not allow passwords starting with dash
> -------------------------------------------------------------------------------------
>
>                 Key: AIRFLOW-4749
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-4749
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: cli
>    Affects Versions: 1.10.3
>         Environment: python 2.7.15
>            Reporter: t oo
>            Priority: Major
>
> h3. [connections|https://airflow.apache.org/cli.html#id30]
> List/Add/Delete connections
>  
>  
> If i try to add a connection in airflow cli and my password starts with dash. ie -abc
> it gives an error about only one argument allowed for --conn_password
>  
> some background: [https://stackoverflow.com/questions/16174992/cant-get-argparse-to-read-quoted-string-with-dashes-in-it]
>  
> note my password reeally does start with -



--
This message was sent by Atlassian Jira
(v8.3.4#803005)