-
Notifications
You must be signed in to change notification settings - Fork 50
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
Empty logger made anytime MatPipe imported #141
Comments
This can be fixed by looking at the LoggableMixin object and trying to figure out why it creates an empty logger. |
I think the issue comes from the fact that imports in Python are specifically executed, which can cause other imports to be executed. The init.py and the line "from automatminer.configs import default_configs" in pipeline.py is the source of the problem |
got it, didn't even realize that was outside of an `if name=="main" block. im trying to think of some ways we can still import these configs without having these unnecessary .logs and also without making it overly complicated. perhaps we can just convert them to functions (which return the dicts shown), or possibly 1 function that takes in a string and returns a config dict? Or if you have another idea I'm all ears |
closed via 9e809c8 |
No description provided.
The text was updated successfully, but these errors were encountered: