Skip to content

Commit

Permalink
Fixes to pass the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Vasilije1990 committed Nov 29, 2023
1 parent dd14832 commit c3edfaa
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions dlt/cli/magics.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
# from .pipeline_command import DLT_PIPELINE_COMMAND_DOCS_URL
# from dlt.cli.init_command import init_command

from IPython.core.display import HTML, display
from IPython.core.display import HTML, display # type: ignore
from IPython.core.magic import (
Magics,
cell_magic,
line_cell_magic,
line_magic,
magics_class, register_line_magic,
Magics, # type: ignore
cell_magic, # type: ignore
line_cell_magic, # type: ignore
line_magic, # type: ignore
magics_class, register_line_magic, # type: ignore
)
from IPython.core.magic_arguments import argument, magic_arguments, parse_argstring
from IPython.core.magic_arguments import argument, magic_arguments, parse_argstring # type: ignore


from ..common.runtime.exec_info import is_notebook, is_ipython
Expand Down Expand Up @@ -66,7 +66,7 @@ def success_message(self, messages: t.Dict[str, str]) -> HTML:
)
return HTML(msg)

def on_exception(self, ex: str, info: str) -> str:
def on_exception(self, ex: str, info: str) -> t.Any:
msg = str(
h(
"div",
Expand Down

0 comments on commit c3edfaa

Please sign in to comment.