-
Notifications
You must be signed in to change notification settings - Fork 78
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
API warning on get() even with silent=True #118
Comments
Thanks for trying wptools, @cmoen! I'll see if we can adjust our API query to avoid that warning, or provide a way to suppress warning messages. |
It looks like your API query is valid, so no change there. But we should always respect the silent flag, even with API warnings, so I made that change. Thanks for opening the issue @cmoen! |
Thanks for looking into this so quickly. I've built my code against the |
Thanks for the fix, I encountered the same problem. Just a note - upgrading via pip did not help to correct this, but replacing the files from master fixed it for me too. |
FYI, I made point release v0.4.12 for this fix, so you should be able to Thanks for the reminder @peeter-t2! |
Thanks!! |
Thanks for wptools. I'm using version 0.4.11 and I'm getting a warning on
get()
and I'm wondering if there's a way this can be suppressed or otherwise worked-around.Here's a way to reproduce this warning:
In my case, I don't really need
extracts
, but I would like to get many of the other data points that are captured byget_query()
behind the scenes.Is there a different way I should do my get calls to prevent
extracts
from outputting all these warnings in my stderr?The text was updated successfully, but these errors were encountered: