Fokko commented on a change in pull request #6246: [AIRFLOW-5586] Improve CLI 
error messaging
URL: https://github.com/apache/airflow/pull/6246#discussion_r330867792
 
 

 ##########
 File path: airflow/bin/cli.py
 ##########
 @@ -1376,8 +1376,10 @@ def users_list(args):
 def users_create(args):
     appbuilder = cached_appbuilder()
     role = appbuilder.sm.find_role(args.role)
+    valid_roles = appbuilder.sm.get_all_roles()
+    print(valid_roles)
 
 Review comment:
   Can we remove the print?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to