get the current canonical name for a given deprecated config key
(key: str)
| 256 | USER_CONFIG = {key for section in CONFIG_SCHEMA.values() for key in section.keys()} |
| 257 | |
| 258 | def get_real_name(key: str) -> str: |
| 259 | """get the current canonical name for a given deprecated config key""" |
| 260 | return CONFIG_ALIASES.get(key.upper().strip(), key.upper().strip()) |
| 261 | |
| 262 | |
| 263 |