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
Annoying UserWarnings #33
Comments
Hmmm. I'm not sure. I think it means moving all imports into function calls, instead of the module containing the class that defines the pipeline stage; then, dependencies should be imported on function calls instead of on class imports from the module (which happen right when you import pdpipe). A bit of work, I guess, but not impossible. If you want to fork and create a branch when you try to do this for one of the modules (I'd go for the |
Wouldn't it be simpler to just include One other approach I could think of, perhaps a compromise between all of the above, would be to use What do you think @shaypal5? |
Just to share a temporary workaround for anyone interested. What I currently do is: import warnings
with warnings.catch_warnings():
warnings.simplefilter("ignore")
import pdpipe as pdp |
A year later, during spring cleaning, just popping over to write that I don't think |
Hi, would it be possible to make the user warnings display only when using pipes that actually depend on these imports? Or at least display them in a way that allows filtering out (with logging package perhaps)?
It's just a minor flaw on otherwise great package. Awesome work!
The text was updated successfully, but these errors were encountered: