Skip to content

Commit 2f8f771

Browse files
authored
Update sql_magic.py
1 parent 2e7fb76 commit 2f8f771

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

python/openmldb/sql_magic/sql_magic.py

+1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ def sql(self, line, cell=None):
4444
print("Success to execute sql")
4545

4646
def register(db, test=False):
47+
global get_ipython
4748
if test:
4849
from IPython.testing.globalipapp import get_ipython
4950
ip = get_ipython()

0 commit comments

Comments
 (0)