]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind/mgr/mgr_module: support per-module CLICommand instances and globals
authorSamuel Just <sjust@redhat.com>
Mon, 24 Nov 2025 17:27:24 +0000 (09:27 -0800)
committerSamuel Just <sjust@redhat.com>
Wed, 17 Dec 2025 17:40:29 +0000 (17:40 +0000)
commit2d79ae64795fcd348b2f2c54d58105c941446b50
treeb0451af317b2ece172c31a0b3cdbb8e427503125
parentff8639818447b8079ceacf3b5d8cbe6ce8cee007
pybind/mgr/mgr_module: support per-module CLICommand instances and globals

Otherwise, the class members on MgrModule and CLICommand are global to all
modules in the same interpreter.

Following commits will introduce a per-module CLICommand types for each
module.

Signed-off-by: Samuel Just <sjust@redhat.com>
src/pybind/mgr/mgr_module.py