MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _add_to_params

Method _add_to_params

lib/sqlalchemy/sql/compiler.py:1663–1668  ·  view source on GitHub ↗
(self, item: ExecutableStatement)

Source from the content-addressed store, hash-verified

1661 return {}
1662
1663 def _add_to_params(self, item: ExecutableStatement) -> None:
1664 # assumes that this is called before traversing the statement
1665 # so the call happens outer to inner, meaning that existing params
1666 # take precedence
1667 if item._params:
1668 self._collected_params = item._params | self._collected_params
1669
1670 @util.memoized_instancemethod
1671 def _init_cte_state(self) -> MutableMapping[CTE, str]:

Callers 6

visit_textclauseMethod · 0.95
visit_tstringMethod · 0.95
visit_textual_selectMethod · 0.95
visit_functionMethod · 0.95
visit_compound_selectMethod · 0.95
visit_selectMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected