ipython-sql
ipython-sql copied to clipboard
Closing the sql magic connection
Is there a way of closing a sql magic initiated connection?
+1
+1
+1
+1
+1
+1
It looks like there might be code in there for this now, but I can't seem to get it to work, no matter what I tell it to close.

I made a pull request (https://github.com/catherinedevlin/ipython-sql/pull/203) that should fix this.
https://github.com/catherinedevlin/ipython-sql/issues/170 mentions a similar solution.
@ecrooks , you'll be able to call %sql --close desc_key with this PR.