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

Method repl

lib/sqlalchemy/sql/elements.py:2315–2317  ·  view source on GitHub ↗
(m)

Source from the content-addressed store, hash-verified

2313 self._bindparams: Dict[str, BindParameter[Any]] = {}
2314
2315 def repl(m):
2316 self._bindparams[m.group(1)] = BindParameter(m.group(1))
2317 return ":%s" % m.group(1)
2318
2319 # scan the string and search for bind parameter names, add them
2320 # to the list of bindparams

Callers

nothing calls this directly

Calls 1

BindParameterClass · 0.85

Tested by

no test coverage detected