class documentation

class HasCopyInternals(object):

Known subclasses: sqlalchemy.orm.attributes.QueryableAttribute, sqlalchemy.sql.expression.ClauseElement, sqlalchemy.sql.base.ExecutableOption, sqlalchemy.sql.selectable._MemoizedSelectEntities

View In Hierarchy

Undocumented

Method ​_clone Undocumented
Method ​_copy​_internals Reassign internal elements to be clones of themselves.
def _copy_internals(self, omit_attrs=(), **kw):

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. replacement traversal, cloned traversal, annotations).