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

fix: Namespace pollution caused by star imports #213

Merged
merged 1 commit into from Jul 19, 2021

Conversation

abhiabhi94
Copy link
Collaborator

  • use explicit imports and __all__ to declare allowed list of public objects.
  • some imports are still provided for backward compatibility, they may be removed in a major version bump.
  • also, use correct packages for import of managers in tests.

@abhiabhi94 abhiabhi94 requested a review from Radi85 July 9, 2021 06:37
@abhiabhi94 abhiabhi94 force-pushed the fix/start-imports branch 3 times, most recently from cf0c638 to 79a888a Compare July 11, 2021 04:47
Radi85
Radi85 previously approved these changes Jul 18, 2021
comment/models/__init__.py Show resolved Hide resolved
- use explicit imports and `__all__` to declare allowed list of public objects.
- some imports are still provided for backward compatibility, they may be removed in a major version bump.
- also, use correct packages for import of managers in tests.
@Radi85 Radi85 merged commit 5cfd410 into Radi85:develop Jul 19, 2021
@abhiabhi94
Copy link
Collaborator Author

Thanks Radico, for checking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants