From 850e2d4e967f8bfbdb9bf6416bd3a7cb378ec7dc Mon Sep 17 00:00:00 2001 From: Brian Kohan Date: Wed, 20 Nov 2024 19:51:31 -0800 Subject: [PATCH] fix #95 --- django_typer/__init__.py | 18 ------------------ doc/source/changelog.rst | 1 + 2 files changed, 1 insertion(+), 18 deletions(-) diff --git a/django_typer/__init__.py b/django_typer/__init__.py index 58961e3..e5fc440 100644 --- a/django_typer/__init__.py +++ b/django_typer/__init__.py @@ -29,24 +29,6 @@ keep a tight version lock on Typer. """ -# WARNING - these imports are going away in version 3! -# import them from django_typer.management directly -from .management import ( - CommandNode, # noqa: F401 - Context, # noqa: F401 - DjangoTyperMixin, # noqa: F401 - DTCommand, # noqa: F401 - DTGroup, # noqa: F401 - Typer, # noqa: F401 - TyperCommand, # noqa: F401 - callback, # noqa: F401 - command, # noqa: F401 - get_command, # noqa: F401 - group, # noqa: F401 - initialize, # noqa: F401 - model_parser_completer, # noqa: F401 -) - VERSION = (3, 0, 0) __title__ = "Django Typer" diff --git a/doc/source/changelog.rst b/doc/source/changelog.rst index bff6d0e..c24dcff 100644 --- a/doc/source/changelog.rst +++ b/doc/source/changelog.rst @@ -8,6 +8,7 @@ v3.0.0 (202X-XX-XX) * Fixed `Typer-style interface throws an assertion when no callback is present on a subgroup. `_ * Fixed `supressed_base_arguments are still present in the Context `_ * Implemented `Add a @finalize decorator for functions to collect/operate on subroutine results. `_ +* Fixed `Remove management imports in django_typer/__init__.py `_ v2.4.0 (2024-11-07) ===================