MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _consider_from

Method _consider_from

lib/sqlalchemy/sql/dml.py:226–234  ·  view source on GitHub ↗
(
            from_: FromClause, include_surface_selectables: bool = False
        )

Source from the content-addressed store, hash-verified

224 seen = {primary_table}
225
226 def _consider_from(
227 from_: FromClause, include_surface_selectables: bool = False
228 ) -> None:
229 if not seen.intersection(from_._cloned_set):
230 froms.append(from_)
231 seen.update(from_._cloned_set)
232 if include_surface_selectables:
233 for elem in sql_util.surface_selectables_only(from_):
234 seen.update(elem._cloned_set)
235
236 for from_ in explicit_froms:
237 _consider_from(from_, include_surface_selectables=True)

Callers

nothing calls this directly

Calls 3

intersectionMethod · 0.45
appendMethod · 0.45
updateMethod · 0.45

Tested by

no test coverage detected