Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
46
class
NotebookHandler(BaseHandler):
Callers
10
tranquilized_funcs
Function · 0.95
published_funcs
Function · 0.95
error_funcs
Function · 0.95
protected_funcs
Function · 0.95
test_script_parser
Function · 0.95
test_tranquilized_script
Function · 0.95
test_published_script
Function · 0.95
tranquilized_funcs
Function · 0.95
test_projected_func_with_secret_key
Function · 0.95
test_projected_func_without_secret_key
Function · 0.95
Calls
1
parse
Method · 0.45
Tested by
10
tranquilized_funcs
Function · 0.76
published_funcs
Function · 0.76
error_funcs
Function · 0.76
protected_funcs
Function · 0.76
test_script_parser
Function · 0.76
test_tranquilized_script
Function · 0.76
test_published_script
Function · 0.76
tranquilized_funcs
Function · 0.76
test_projected_func_with_secret_key
Function · 0.76
test_projected_func_without_secret_key
Function · 0.76