MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _extract_bound_parameters

Method _extract_bound_parameters

lib/sqlalchemy/sql/lambdas.py:1354–1362  ·  view source on GitHub ↗
(self, starting_point, result_list)

Source from the content-addressed store, hash-verified

1352 return op(other, elem, **kwargs)
1353
1354 def _extract_bound_parameters(self, starting_point, result_list):
1355 param = object.__getattribute__(self, "_param")
1356 if param is not None:
1357 param = param._with_value(starting_point, maintain_key=True)
1358 result_list.append(param)
1359 for pywrapper in object.__getattribute__(self, "_bind_paths").values():
1360 getter = object.__getattribute__(pywrapper, "_getter")
1361 element = getter(starting_point)
1362 pywrapper._sa__extract_bound_parameters(element, result_list)
1363
1364 def _py_wrapper_literal(self, expr=None, operator=None, **kw):
1365 param = object.__getattribute__(self, "_param")

Callers

nothing calls this directly

Calls 4

_with_valueMethod · 0.80
__getattribute__Method · 0.45
appendMethod · 0.45
valuesMethod · 0.45

Tested by

no test coverage detected