]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr: add types to MODULE_OPTIONS 36146/head
authorErnesto Puerta <epuertat@redhat.com>
Thu, 16 Jul 2020 18:21:14 +0000 (20:21 +0200)
committerErnesto Puerta <epuertat@redhat.com>
Mon, 14 Dec 2020 09:23:59 +0000 (10:23 +0100)
commitf002c6ce40338c08dbc91e08682365e07662f135
treea5f02c758f2b9a20fbae14606139729dcfdc9009
parent851d10ed3516a88586515913d95df514d065e53d
mgr: add types to MODULE_OPTIONS

Uses a typed Option class for MODULE_OPTIONS and replaces those in the
modules that are checked by mypy.

Fixes: https://tracker.ceph.com/issues/46577
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
src/pybind/mgr/cephadm/module.py
src/pybind/mgr/mgr_module.py
src/pybind/mgr/orchestrator/module.py
src/pybind/mgr/progress/module.py
src/pybind/mgr/prometheus/module.py
src/pybind/mgr/rook/module.py
src/pybind/mgr/snap_schedule/module.py
src/pybind/mgr/stats/module.py
src/pybind/mgr/volumes/module.py
src/python-common/requirements.txt