maxfordham / ipyautoui

create ipywidgets user input form pydantic model or jsonschema
https://maxfordham.github.io/ipyautoui/
40 stars 4 forks source link

move the dev only code out of the __init__.py files #132

Closed jgunstone closed 1 year ago

jgunstone commented 1 year ago

this is currently in the __init__.py files. put in a different file that doesn't continuously need commenting and un-commenting!

import pathlib
import sys

sys.path.append(str(pathlib.Path(__file__).parents[1]))
#  ^ for dev only. TODO: comment out at build time