MCPcopy Index your code
hub / github.com/python/mypy / snapshot_types

Function snapshot_types

mypy/server/astdiff.py:345–346  ·  view source on GitHub ↗
(types: Sequence[Type])

Source from the content-addressed store, hash-verified

343
344
345def snapshot_types(types: Sequence[Type]) -> SnapshotItem:
346 return tuple(snapshot_type(item) for item in types)
347
348
349def snapshot_simple_type(typ: Type) -> SnapshotItem:

Callers 9

snapshot_symbol_tableFunction · 0.85
visit_unbound_typeMethod · 0.85
visit_instanceMethod · 0.85
visit_type_varMethod · 0.85
visit_parametersMethod · 0.85
visit_callable_typeMethod · 0.85
visit_tuple_typeMethod · 0.85
visit_overloadedMethod · 0.85
visit_type_alias_typeMethod · 0.85

Calls 2

tupleClass · 0.85
snapshot_typeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…