]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
pybing/mgr/mgr_module: extract method for collecting kwargs
authorKefu Chai <kchai@redhat.com>
Sat, 26 Dec 2020 12:07:46 +0000 (20:07 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 14 Jan 2021 11:46:04 +0000 (19:46 +0800)
commitad1dccb4bff6b01454003708af116c563144a509
tree89f734b34517c16d8048594555696fddfd175820
parent0d7b3745dbf11184f12c6229b8bc529aa38d1b0e
pybing/mgr/mgr_module: extract method for collecting kwargs

the existing method is using argdesc for collecting kwargs, by
extracting into a separated method, we can use the annotation as an
alternative.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/pybind/mgr/mgr_module.py