Skip to content

Remove management imports in django_typer/__init__.py #95

New issue

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

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

Already on GitHub? # to your account

Closed
bckohan opened this issue Jun 7, 2024 · 0 comments · Fixed by #177
Closed

Remove management imports in django_typer/__init__.py #95

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

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
@bckohan bckohan linked a pull request Feb 17, 2025 that will close this issue
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
BREAKING This change will break downstream code. enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant