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

Function convert_overloaded_func_def

mypy/exportjson.py:189–199  ·  view source on GitHub ↗
(self: OverloadedFuncDef)

Source from the content-addressed store, hash-verified

187
188
189def convert_overloaded_func_def(self: OverloadedFuncDef) -> Json:
190 return {
191 ".class": "OverloadedFuncDef",
192 "items": [convert_overload_part(i) for i in self.items],
193 "type": None if self.type is None else convert_type(self.type),
194 "fullname": self._fullname,
195 "impl": None if self.impl is None else convert_overload_part(self.impl),
196 "flags": get_flags(self, FUNCBASE_FLAGS),
197 "deprecated": self.deprecated,
198 "setter_index": self.setter_index,
199 }
200
201
202def convert_overload_part(self: OverloadPart) -> Json:

Callers 1

convert_symbol_nodeFunction · 0.85

Calls 3

get_flagsFunction · 0.90
convert_overload_partFunction · 0.85
convert_typeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…