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

Method _copy_internals

lib/sqlalchemy/sql/visitors.py:602–615  ·  view source on GitHub ↗

Reassign internal elements to be clones of themselves. Called during a copy-and-traverse operation on newly shallow-copied elements to create a deep copy. The given clone function should be used, which may be applying additional transformations to the element (i.e.

(
        self, *, omit_attrs: Tuple[str, ...] = (), **kw: Any
    )

Source from the content-addressed store, hash-verified

600 raise NotImplementedError()
601
602 def _copy_internals(
603 self, *, omit_attrs: Tuple[str, ...] = (), **kw: Any
604 ) -> None:
605 """Reassign internal elements to be clones of themselves.
606
607 Called during a copy-and-traverse operation on newly
608 shallow-copied elements to create a deep copy.
609
610 The given clone function should be used, which may be applying
611 additional transformations to the element (i.e. replacement
612 traversal, cloned traversal, annotations).
613
614 """
615 raise NotImplementedError()
616
617
618_ET = TypeVar("_ET", bound=ExternallyTraversible)

Callers 1

cloneFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected