]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: use param annotation for args desc
authorKefu Chai <kchai@redhat.com>
Sun, 27 Dec 2020 04:47:02 +0000 (12:47 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 15 Jan 2021 01:18:07 +0000 (09:18 +0800)
commit3c431a54d96ebc9bdb911161468d0f6bedbbcbfe
treec2d252f5a8a5cce65a83b9b4a33a816860b58bf1
parenta022d17ddcb5e5c20f114167335bcfdcd4b24b00
mgr/dashboard: use param annotation for args desc

use parameter annotation for CLICommand arg desc

less repeating this way

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/mypy.ini
src/pybind/mgr/dashboard/module.py
src/pybind/mgr/dashboard/plugins/feature_toggles.py
src/pybind/mgr/dashboard/services/access_control.py
src/pybind/mgr/dashboard/services/iscsi_cli.py
src/pybind/mgr/test_orchestrator/module.py