MCPcopy Create free account
hub / github.com/zzzeek/sqlalchemy / visit_table_hint_list

Method visit_table_hint_list

lib/sqlalchemy/sql/cache_key.py:863–886  ·  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

861 )
862
863 def visit_table_hint_list(
864 self,
865 attrname: str,
866 obj: Any,
867 parent: Any,
868 anon_map: anon_map,
869 bindparams: List[BindParameter[Any]],
870 ) -> Tuple[Any, ...]:
871 if not obj:
872 return ()
873
874 return (
875 attrname,
876 tuple(
877 [
878 (
879 clause._gen_cache_key(anon_map, bindparams),
880 dialect_name,
881 text,
882 )
883 for (clause, dialect_name), text in obj.items()
884 ]
885 ),
886 )
887
888 def visit_plain_dict(
889 self,

Callers

nothing calls this directly

Calls 2

_gen_cache_keyMethod · 0.45
itemsMethod · 0.45

Tested by

no test coverage detected