]> 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)
committerNitzan Mordechai <nmordech@ibm.com>
Thu, 16 Apr 2026 17:18:53 +0000 (17:18 +0000)
commita3e6fd22f793a40d07d7ff6038bb53862f5c7761
tree572f876616861a43b62d6be340362eb0a1537f16
parentd302f02a04494d88162d13036b5b01996b216cb3
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>
(cherry picked from commit 2d79ae64795fcd348b2f2c54d58105c941446b50)
src/pybind/mgr/mgr_module.py