You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "t oo (Jira)" <ji...@apache.org> on 2019/12/26 23:09: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=17003805#comment-17003805 ] 

t oo commented on AIRFLOW-4749:
-------------------------------

the password is dynamically generated, caller should not have to inspect+modify the password, airflow should handle it

> 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)