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

Method visit_inspectable

lib/sqlalchemy/sql/cache_key.py:642–650  ·  view source on GitHub ↗
(
        self,
        attrname: str,
        obj: Any,
        parent: Any,
        anon_map: anon_map,
        bindparams: List[BindParameter[Any]],
    )

Source from the content-addressed store, hash-verified

640 return tuple((fn.__code__, c_key) for fn, c_key in obj)
641
642 def visit_inspectable(
643 self,
644 attrname: str,
645 obj: Any,
646 parent: Any,
647 anon_map: anon_map,
648 bindparams: List[BindParameter[Any]],
649 ) -> Tuple[Any, ...]:
650 return (attrname, inspect(obj)._gen_cache_key(anon_map, bindparams))
651
652 def visit_string_list(
653 self,

Callers

nothing calls this directly

Calls 2

inspectFunction · 0.90
_gen_cache_keyMethod · 0.45

Tested by

no test coverage detected