MCPcopy
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

Calls 1

itemsMethod · 0.45