Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/scrapy/scrapy
/ restore_key
Method
restore_key
scrapy/settings/__init__.py:382–383 ·
view source on GitHub ↗
(k: str)
Source
from the content-addressed store, hash-verified
380
return
key
381
382
def
restore_key(k: str) -> Any:
383
return
normalized_keys.get(k, k)
384
385
result = dict(self[name +
"_BASE"
] or {})
386
override = {normalize_key(k): v
for
k, v in (self[name] or {}).items()}
Callers
nothing calls this directly
Calls
1
get
Method · 0.45
Tested by
no test coverage detected