Skip to content

Commit 03461fa

Browse files
committed
change deprecated import - fix #215
1 parent 74fcee4 commit 03461fa

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/django_typer/management/commands/shellcompletion.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,10 @@
3131

3232
from click import get_current_context
3333
from click.core import ParameterSource
34-
from click.parser import split_arg_string
35-
from click.shell_completion import CompletionItem
34+
from click.shell_completion import (
35+
CompletionItem,
36+
split_arg_string, # pyright: ignore[reportPrivateImportUsage]
37+
)
3638
from django.core.management import CommandError, ManagementUtility
3739
from django.utils.module_loading import import_string
3840
from django.utils.translation import gettext_lazy as _

0 commit comments

Comments
 (0)