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

Function convert_decorator

mypy/exportjson.py:209–215  ·  view source on GitHub ↗
(self: Decorator)

Source from the content-addressed store, hash-verified

207
208
209def convert_decorator(self: Decorator) -> Json:
210 return {
211 ".class": "Decorator",
212 "func": convert_func_def(self.func),
213 "var": convert_var(self.var),
214 "is_overload": self.is_overload,
215 }
216
217
218def convert_var(self: Var) -> Json:

Callers 2

convert_symbol_nodeFunction · 0.85
convert_overload_partFunction · 0.85

Calls 2

convert_func_defFunction · 0.85
convert_varFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…