MCPcopy Index your code
hub / github.com/ContinuumIO/tranquilizer / parse

Method parse

tranquilizer/handler.py:38–43  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

36 self.fn = fn
37
38 def parse(self):
39 with open(self.fn, 'r') as f:
40 source = f.read()
41
42 self.nodes = ast.parse(source, self.fn)
43 self.module = run_path(self.fn)
44
45
46class NotebookHandler(BaseHandler):

Callers 10

tranquilized_funcsFunction · 0.95
published_funcsFunction · 0.95
error_funcsFunction · 0.95
protected_funcsFunction · 0.95
test_script_parserFunction · 0.95
test_tranquilized_scriptFunction · 0.95
test_published_scriptFunction · 0.95
tranquilized_funcsFunction · 0.95

Calls 1

parseMethod · 0.45

Tested by 10

tranquilized_funcsFunction · 0.76
published_funcsFunction · 0.76
error_funcsFunction · 0.76
protected_funcsFunction · 0.76
test_script_parserFunction · 0.76
test_tranquilized_scriptFunction · 0.76
test_published_scriptFunction · 0.76
tranquilized_funcsFunction · 0.76