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

Method read

mypy/nodes.py:5188–5197  ·  view source on GitHub ↗
(cls, data: ReadBuffer)

Source from the content-addressed store, hash-verified

5186
5187 @classmethod
5188 def read(cls, data: ReadBuffer) -> DataclassTransformSpec:
5189 ret = DataclassTransformSpec(
5190 eq_default=read_bool(data),
5191 order_default=read_bool(data),
5192 kw_only_default=read_bool(data),
5193 frozen_default=read_bool(data),
5194 field_specifiers=tuple(read_str_list(data)),
5195 )
5196 assert read_tag(data) == END_TAG
5197 return ret
5198
5199
5200@trait

Callers

nothing calls this directly

Calls 3

read_str_listFunction · 0.90
tupleClass · 0.85

Tested by

no test coverage detected