Nice product, like it a lot.
When used in app structure instaviz when calling show method assumes jinja path target to be under that particular module or directory, thus will not display anything because there is no static and template directory under it...
example:
main (package)
Main.py
import instaviz
def example():
a = 1
b = a + 1
return b
instaviz.show(example)
Error: 500 No home.html
if user adds two directories under main/instaviz, e.g.
main
instaviz
static
templates
everything works fine...
i hope this helps some other soul, mainly as product is cool and helpful in understanding cPython and AST.
Nice product, like it a lot. When used in app structure instaviz when calling show method assumes jinja path target to be under that particular module or directory, thus will not display anything because there is no static and template directory under it... example: main (package) Main.py import instaviz
instaviz.show(example)
Error: 500 No home.html
if user adds two directories under main/instaviz, e.g.
main instaviz static templates
everything works fine...
i hope this helps some other soul, mainly as product is cool and helpful in understanding cPython and AST.
Regards,