Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sqlalchemy/sqlalchemy
/ _generate
Method
_generate
lib/sqlalchemy/sql/traversals.py:198–202 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
196
__slots__ = ()
197
198
def
_generate(self) -> Self:
199
cls = self.__class__
200
s = cls.__new__(cls)
201
self._shallow_copy_to(s)
202
return
s
203
204
205
def
_clone(element, **kw):
Callers
nothing calls this directly
Calls
2
_shallow_copy_to
Method · 0.80
__new__
Method · 0.45
Tested by
no test coverage detected