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 code from __init__.py files #245

Open
JiriPavela opened this issue Jul 24, 2024 · 0 comments
Open

Remove code from __init__.py files #245

JiriPavela opened this issue Jul 24, 2024 · 0 comments
Assignees
Labels
maintenance Tasks revolving around repository maintenance

Comments

@JiriPavela
Copy link
Collaborator

As part of a preparation for adopting lazy imports and loading as described in #223, we should remove problematic code from __init__.py files that might otherwise break lazy loading and cause subpackages to be unexpectedly loaded when they are not actually used. Code in __init__.py files that does not affect the rest of Perun's logic (i.e., does not propagate outside the specific subpackage) may be kept as is, if it turns out too difficult to refactor or remove.

@JiriPavela JiriPavela added the maintenance Tasks revolving around repository maintenance label Jul 24, 2024
@JiriPavela JiriPavela self-assigned this Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Tasks revolving around repository maintenance
Projects
None yet
Development

No branches or pull requests

1 participant