MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / copy

Method copy

lib/sqlalchemy/ext/associationproxy.py:1833–1834  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1831 del self[key]
1832
1833 def copy(self) -> Dict[_KT, _VT]:
1834 return dict(self.items())
1835
1836 def __hash__(self) -> NoReturn:
1837 raise TypeError("%s objects are unhashable" % type(self).__name__)

Callers

nothing calls this directly

Calls 1

itemsMethod · 0.95

Tested by

no test coverage detected