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

Update module imports #13

Open
a-vanderheiden opened this issue Mar 7, 2024 · 0 comments
Open

Update module imports #13

a-vanderheiden opened this issue Mar 7, 2024 · 0 comments
Assignees
Labels
qol Not a bug or feature; just a quality of life improvement

Comments

@a-vanderheiden
Copy link
Collaborator

Problem

The main __init__.py script lazily imports everything from the modules with an * like

from delineation import *

This causes unnecessary objects to load when executing tasks and makes importing anything from ScrollStats take several seconds.

Solution

Go through the __init__.py files and explicitly import modules and other resources

@a-vanderheiden a-vanderheiden self-assigned this Mar 7, 2024
@a-vanderheiden a-vanderheiden added the qol Not a bug or feature; just a quality of life improvement label Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
qol Not a bug or feature; just a quality of life improvement
Projects
None yet
Development

No branches or pull requests

1 participant