Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sqlalchemy/sqlalchemy
/ copy
Method
copy
lib/sqlalchemy/util/_collections_cy.py:495–498 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
493
494
@cython.ccall
495
def
copy(self) -> IdentitySet:
496
cp: IdentitySet = self.__new__(self.__class__)
497
cp._members = self._members.copy()
498
return
cp
499
500
def
__copy__(self) -> IdentitySet:
501
return
self.copy()
Callers
1
__copy__
Method · 0.95
Calls
2
__new__
Method · 0.45
copy
Method · 0.45
Tested by
no test coverage detected