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/29 18:42:00 UTC
[jira] [Updated] (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:all-tabpanel ]
t oo updated AIRFLOW-4749:
--------------------------
Description:
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 (aka hypen, minus symbol) . 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 -
was:
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 -
> 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 (aka hypen, minus symbol) . 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)