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

Function convert_dataclass_transform_spec

mypy/exportjson.py:179–186  ·  view source on GitHub ↗
(self: DataclassTransformSpec)

Source from the content-addressed store, hash-verified

177
178
179def convert_dataclass_transform_spec(self: DataclassTransformSpec) -> Json:
180 return {
181 "eq_default": self.eq_default,
182 "order_default": self.order_default,
183 "kw_only_default": self.kw_only_default,
184 "frozen_default": self.frozen_default,
185 "field_specifiers": list(self.field_specifiers),
186 }
187
188
189def convert_overloaded_func_def(self: OverloadedFuncDef) -> Json:

Callers 2

convert_func_defFunction · 0.85
convert_type_infoFunction · 0.85

Calls 1

listClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…