Commit 8a970d99 authored by Lucas Bourneuf's avatar Lucas Bourneuf

doc

parent 8ab84e0d
...@@ -165,6 +165,7 @@ def compile_run_on(language:str, code:str, updater:callable=None) -> callable: ...@@ -165,6 +165,7 @@ def compile_run_on(language:str, code:str, updater:callable=None) -> callable:
# print('MODULE w/o run_on:', type(module), {k: v for k, v in vars(module).items() if not k.startswith('__')}) # print('MODULE w/o run_on:', type(module), {k: v for k, v in vars(module).items() if not k.startswith('__')})
run_on = module.run_on run_on = module.run_on
elif language == 'python file': elif language == 'python file':
# initialize
with open(code) as fd: with open(code) as fd:
source = fd.read() source = fd.read()
module = build_module_from_python_code(source) module = build_module_from_python_code(source)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment