The ipython-sql magic persists connections opened once only in a notebook using the import sql.connection package from that magic as demonstrated in `magic.py.
It would be nice to have some unified magic that could make use of the same database connection to run ipython-sql magic and the erd magic; which means tweaking the eralchemy package to be ble to make use of the same connection details as ipython-sql?
The
ipython-sql
magic persists connections opened once only in a notebook using theimport sql.connection
package from that magic as demonstrated in `magic.py.It would be nice to have some unified magic that could make use of the same database connection to run
ipython-sql
magic and theerd
magic; which means tweaking theeralchemy
package to be ble to make use of the same connection details asipython-sql
?