You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "jack (JIRA)" <ji...@apache.org> on 2019/07/08 14:59:00 UTC

[jira] [Comment Edited] (AIRFLOW-4909) Outdated documentation [https://airflow.readthedocs.io/en/latest/cli.html#users]

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

jack edited comment on AIRFLOW-4909 at 7/8/19 2:58 PM:
-------------------------------------------------------

Actually the doc is updated...

Airflow release isn't - The PR that introduced the functionality is only on master. 

Jira  https://issues.apache.org/jira/browse/AIRFLOW-3051 / PR [https://github.com/apache/airflow/pull/3936] was not cherry picked to v.10 branch :(

[~ash] can this still go to 1.10.4 ? 


was (Author: jackjack10):
Actually the doc is updated...

Airflow release isn't - The PR that introduced the functionality is only on master. 

PR https://issues.apache.org/jira/browse/AIRFLOW-3051 was not cherry picked to v.10 branch :(

[~ash] can this still go to 1.10.4 ? 

> Outdated documentation [https://airflow.readthedocs.io/en/latest/cli.html#users]
> --------------------------------------------------------------------------------
>
>                 Key: AIRFLOW-4909
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-4909
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: documentation
>    Affects Versions: 1.10.3
>            Reporter: Iss Prof
>            Priority: Major
>         Attachments: Airflow_Users_List_Fail.png, Airflow_Version.png
>
>
> Hi team,
>  
> I wanted to run the following command from the "users" sub-command [documentation|https://airflow.readthedocs.io/en/latest/cli.html#users]:
> {code:java}
> airflow users --list{code}
> But I encountered the following error:
> {code:java}
> airflow: error: argument subcommand: invalid choice: 'users' (choose from 'backfill', 'list_dag_runs', 'list_tasks', 'clear', 'pause', 'unpause', 'trigger_dag', 'delete_dag', 'pool', 'variables', 'kerberos', 'render', 'run', 'initdb', 'list_dags', 'dag_state', 'task_failed_deps', 'task_state', 'serve_logs', 'test', 'webserver', 'resetdb', 'upgradedb', 'scheduler', 'worker', 'flower', 'version', 'connections', 'create_user', 'delete_user', 'list_users', 'sync_perm', 'next_execution', 'rotate_fernet_key')
> {code}
> I can clearly see from the output that the sub-command "users" is not supported in the version of Airflow I am using. Instead I noticed the sub-command "list_users" in the output above.
> I am using Mac and my Airflow version is v1.10.3. Is this an issue with the documentation or am I doing or understanding something wrong?
> I can update the information on the above mentioned page if the need be and raise the PR for the same.
> Thanks !



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)