]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/dashboard: add an assertion for type narrowing
authorJohn Mulligan <jmulligan@redhat.com>
Tue, 28 Mar 2023 21:06:51 +0000 (17:06 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Thu, 30 Mar 2023 20:52:53 +0000 (16:52 -0400)
commite1df7d939ff9f3445b129c9ace5387bd639c8e7a
treef4d92b50bc277dafafa0e90c4b521d82fcbd8ad6
parentde9e8094aad0f387f46e7178fca791bc7766ed9a
mgr/dashboard: add an assertion for type narrowing

This change makes this file pass mypy checking on mypy 0.981.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/pybind/mgr/dashboard/controllers/_rest_controller.py