MCPcopy
hub / github.com/ArchiveBox/ArchiveBox / get_real_name

Function get_real_name

archivebox/config.py:258–260  ·  view source on GitHub ↗

get the current canonical name for a given deprecated config key

(key: str)

Source from the content-addressed store, hash-verified

256USER_CONFIG = {key for section in CONFIG_SCHEMA.values() for key in section.keys()}
257
258def 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

Callers 1

configFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected