MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / _expand_cloned

Function _expand_cloned

lib/sqlalchemy/sql/base.py:326–334  ·  view source on GitHub ↗

expand the given set of ClauseElements to be the set of all 'cloned' predecessors.

(
    elements: Iterable[_CLE],
)

Source from the content-addressed store, hash-verified

324
325
326def _expand_cloned(
327 elements: Iterable[_CLE],
328) -> Iterable[_CLE]:
329 """expand the given set of ClauseElements to be the set of all 'cloned'
330 predecessors.
331
332 """
333 # TODO: cython candidate
334 return itertools.chain(*[x._cloned_set for x in elements])
335
336
337def _de_clone(

Callers 6

_normalize_fromsMethod · 0.85
_expanded_proxy_setMethod · 0.85
_cloned_intersectionFunction · 0.85
_cloned_differenceFunction · 0.85
embeddedMethod · 0.85

Calls 1

chainMethod · 0.45

Tested by

no test coverage detected