MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _clone

Method _clone

lib/sqlalchemy/sql/selectable.py:5427–5432  ·  view source on GitHub ↗
(self, **kw: Any)

Source from the content-addressed store, hash-verified

5425 _annotations = util.EMPTY_DICT
5426
5427 def _clone(self, **kw: Any) -> Self:
5428 c = self.__class__.__new__(self.__class__)
5429 c.__dict__ = {k: v for k, v in self.__dict__.items()}
5430
5431 c._is_clone_of = self.__dict__.get("_is_clone_of", self)
5432 return c
5433
5434 @classmethod
5435 def _generate_for_statement(

Callers 4

correlateMethod · 0.45
correlate_exceptMethod · 0.45
select_fromMethod · 0.45
whereMethod · 0.45

Calls 3

__new__Method · 0.45
itemsMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected