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

Method read

mypy/types.py:3039–3046  ·  view source on GitHub ↗
(cls, data: ReadBuffer)

Source from the content-addressed store, hash-verified

3037
3038 @classmethod
3039 def read(cls, data: ReadBuffer) -> TypedDictType:
3040 assert read_tag(data) == INSTANCE
3041 fallback = Instance.read(data)
3042 ret = TypedDictType(
3043 read_type_map(data), set(read_str_list(data)), set(read_str_list(data)), fallback
3044 )
3045 assert read_tag(data) == END_TAG
3046 return ret
3047
3048 @property
3049 def is_final(self) -> bool:

Callers

nothing calls this directly

Calls 5

read_str_listFunction · 0.90
TypedDictTypeClass · 0.85
read_type_mapFunction · 0.85
setClass · 0.85
readMethod · 0.45

Tested by

no test coverage detected