# should be moved to Jupyter's or IPython's profile_default/startup directory
from IPython.core.magic import register_line_cell_magic
from SQLCell.sqlcell import sql

sql = register_line_cell_magic(sql)

# should be moved to Jupyter's or IPython's profile_default/startup directory
from IPython.core.magic import register_line_cell_magic
from SQLCell.sqlcell import sql, kernel_vars

sql = register_line_cell_magic(sql)

kernel_vars.g = globals()

update sqlcell_app.py