Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sqlalchemy/sqlalchemy
/ restore
Function
restore
lib/sqlalchemy/util/langhelpers.py:94–99 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
92
cls.__annotations__ = new_annotations
93
94
def
restore():
95
for
k, v in memoized.items():
96
if
v is delattr_:
97
delattr(cls, k)
98
else
:
99
setattr(cls, k, v)
100
101
return
restore
102
Callers
2
test_restore_annotations_langhelper
Method · 0.85
test_restore_annotations_langhelper
Method · 0.85
Calls
1
items
Method · 0.45
Tested by
2
test_restore_annotations_langhelper
Method · 0.68
test_restore_annotations_langhelper
Method · 0.68