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

Method _generate_param_dict

lib/sqlalchemy/sql/cache_key.py:555–559  ·  view source on GitHub ↗

used for testing

(self)

Source from the content-addressed store, hash-verified

553 return "CacheKey(key=%s)" % ("\n".join(output),)
554
555 def _generate_param_dict(self) -> Dict[str, Any]:
556 """used for testing"""
557
558 _anon_map = prefix_anon_map()
559 return {b.key % _anon_map: b.effective_value for b in self.bindparams}
560
561 @util.preload_module("sqlalchemy.sql.elements")
562 def _apply_params_to_element(

Callers 1

Calls 1

prefix_anon_mapClass · 0.85

Tested by 1