MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _copy_internals

Method _copy_internals

lib/sqlalchemy/sql/elements.py:5615–5619  ·  view source on GitHub ↗
(
        self, clone: _CloneCallableType = _clone, **kw: Any
    )

Source from the content-addressed store, hash-verified

5613 self.type = type_
5614
5615 def _copy_internals(
5616 self, clone: _CloneCallableType = _clone, **kw: Any
5617 ) -> None:
5618 self.scalar_alias = clone(self.scalar_alias, **kw)
5619 self.key = self.name = self.scalar_alias.name
5620
5621 @util.ro_non_memoized_property
5622 def _from_objects(self) -> List[FromClause]:

Callers

nothing calls this directly

Calls 1

cloneFunction · 0.70

Tested by

no test coverage detected