Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove management imports in django_typer/__init__.py #95

Open
bckohan opened this issue Jun 7, 2024 · 0 comments
Open

Remove management imports in django_typer/__init__.py #95

bckohan opened this issue Jun 7, 2024 · 0 comments
Assignees
Labels
BREAKING This change will break downstream code. enhancement New feature or request
Milestone

Comments

@bckohan
Copy link
Member

bckohan commented Jun 7, 2024

In an effort to not unnecessarily import django_typer/typer/click and rich modules when a typer command is not executed the imports from django_typer namespace have been moved to django_typer.management. A backwards compat import is in version 2 to allow older code to still work - this will be removed in 3.0.

@bckohan bckohan added this to the Version 3.0 milestone Jun 7, 2024
@bckohan bckohan self-assigned this Jun 7, 2024
@bckohan bckohan added enhancement New feature or request BREAKING This change will break downstream code. labels Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BREAKING This change will break downstream code. enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant