MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _de_clone

Function _de_clone

lib/sqlalchemy/sql/base.py:349–355  ·  view source on GitHub ↗
(
    elements: Iterable[_CLE],
)

Source from the content-addressed store, hash-verified

347
348
349def _de_clone(
350 elements: Iterable[_CLE],
351) -> Iterable[_CLE]:
352 for x in elements:
353 while x._is_clone_of is not None:
354 x = x._is_clone_of
355 yield x
356
357
358def _cloned_intersection(a: Iterable[_CLE], b: Iterable[_CLE]) -> Set[_CLE]:

Callers 2

visit_binaryMethod · 0.85
visit_joinMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected