Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: b68e551221d955bbd672f15d34ea76b81685a3cb
https://github.com/tribe29/checkmk/commit/b68e551221d955bbd672f15d34ea76b81…
Author: Maximilian Wirtz <maximilian.wirtz(a)tribe29.com>
Date: 2022-02-10 (Thu, 10 Feb 2022)
Changed paths:
M cmk/gui/plugins/config/base.py
M cmk/gui/plugins/userdb/ldap_connector.py
M cmk/gui/plugins/userdb/utils.py
M cmk/gui/type_defs.py
M cmk/gui/userdb.py
M cmk/gui/wato/pages/user_profile/two_factor.py
M cmk/gui/wato/pages/users.py
M tests/unit/cmk/gui/test_userdb.py
Log Message:
-----------
First try to type UserSpec
This is really messy, since UserSpec has keys coming from a
"attribute-registry" and the keys grew over time.
MyPy currently does not complain about this typing, though I surpressed
to complaints. Also there are still some placeholders (Literal["foo"])
which were meant to trigger mypy to complain, but it seems they are not
used in any (typed-) functions.
Change-Id: I24ff2bd09d98312cfa85536e08e009fbaae7cd87