Skip to content

Commit

Permalink
import
Browse files Browse the repository at this point in the history
  • Loading branch information
neelasha23 committed Dec 31, 2023
1 parent a1988c5 commit edf2efc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/sql/magic.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
from sql.magic_cmd import SqlCmdMagic
from sql._patch import patch_ipython_usage_error
from sql import util
from sql.util import pretty_print, expand_args
from sql.error_handler import handle_exception
from sql._current import _set_sql_magic

Expand Down Expand Up @@ -410,7 +409,7 @@ def interactive_execute_wrapper(**kwargs):

args = command.args

expand_args(args, user_ns, ["section", "close", "alias", "save"])
util.expand_args(args, user_ns, ["section", "close", "alias", "save"])

if args.section and args.alias:
raise exceptions.UsageError(
Expand Down Expand Up @@ -438,7 +437,7 @@ def interactive_execute_wrapper(**kwargs):
command.set_sql_with(with_)
display.message(
f"Generating CTE with stored snippets: \
{pretty_print(with_)}"
{util.pretty_print(with_)}"
)
else:
with_ = None
Expand Down

0 comments on commit edf2efc

Please sign in to comment.