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

Method _gen_cache_key

lib/sqlalchemy/sql/schema.py:464–470  ·  view source on GitHub ↗
(
        self, anon_map: anon_map, bindparams: List[BindParameter[Any]]
    )

Source from the content-addressed store, hash-verified

462 """
463
464 def _gen_cache_key(
465 self, anon_map: anon_map, bindparams: List[BindParameter[Any]]
466 ) -> Tuple[Any, ...]:
467 if self._annotations:
468 return (self,) + self._annotations_cache_key
469 else:
470 return (self,)
471
472 if not typing.TYPE_CHECKING:
473 # typing tools seem to be inconsistent in how they handle

Callers 6

visit_has_cache_keyMethod · 0.45
visit_multiMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected