MCPcopy Create free account
hub / github.com/dropbox/pyannotate / FunctionInfo

Class FunctionInfo

pyannotate_tools/annotations/parse.py:72–81  ·  view source on GitHub ↗

Deserialized raw runtime information for a single function (based on RawEntry)

Source from the content-addressed store, hash-verified

70
71
72class FunctionInfo(object):
73 """Deserialized raw runtime information for a single function (based on RawEntry)"""
74
75 def __init__(self, path, line, func_name, type_comments, samples):
76 # type: (str, int, str, List[str], int) -> None
77 self.path = path
78 self.line = line
79 self.func_name = func_name
80 self.type_comments = type_comments
81 self.samples = samples
82
83
84class ParseError(Exception):

Callers 1

parse_jsonFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected