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

Plugin Imports #20

Closed
JoshuaSBrown opened this issue Jul 1, 2022 · 0 comments · Fixed by #21
Closed

Plugin Imports #20

JoshuaSBrown opened this issue Jul 1, 2022 · 0 comments · Fixed by #21

Comments

@JoshuaSBrown
Copy link
Collaborator

@rafaelfsilva in regards to the plugin module import issue you raised in our last meeting, would a good alternative suggestion be to simply have the file names equivalent to the plugin class name. One could then walk the folder structure instead of importing the classes to determine if they exist?

This is not the most ideal solution but from what I am reading it may be the only one, it looks like if you call an import on a python file even if you specify a single function it still reads in the whole file into memory and simply creates a reference to the part you need.

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

Successfully merging a pull request may close this issue.

1 participant