-
Notifications
You must be signed in to change notification settings - Fork 177
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
How to suppress console printing HTTP responses? #532
Labels
documentation
Improvements or additions to documentation
Comments
This worked for me.
Here are the levels if you want to set a different level than above, but that was enough to get rid of the HTTP logs for me |
This answer from other issue might also help to consider logging setup on your script: #303 (comment) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Whenever I call any function such as
supabase.table("table").select("*").execute()
and run my python script, the console prints every HTTP request and response, which messes up my script output, like this:This behavior occurs after I upgraded supabase-py to the latest version. I don't think the old versions have this issue.
To Reproduce
Call
supabase.table("table").select("*").execute()
in a jupyter notebook or run it in a python script.Expected behavior
I don't remember which version but previously the console did not output HTTP responses. I want to get rid of these printed lines and make it print only when I explicitly ask to.
Screenshots
![image](https://private-user-images.githubusercontent.com/11172180/264500592-f79becdb-fd5b-4c96-819a-4c7a37b47fb9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA3ODgyODIsIm5iZiI6MTcyMDc4Nzk4MiwicGF0aCI6Ii8xMTE3MjE4MC8yNjQ1MDA1OTItZjc5YmVjZGItZmQ1Yi00Yzk2LTgxOWEtNGM3YTM3YjQ3ZmI5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzEyVDEyMzk0MlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTM2NzFmYTBkYzM1ZjU2MmY1Njc2ZDBlODQ0NWU3ZTQzNWVkY2Q0Y2M3ZDYyMTZmOTdkOWRjYTM4NDQxZTE4YjAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.KyqNTifhSfch_ZPLwqiIQubUinb0zRaU6sVSDv7YdPI)
The text was updated successfully, but these errors were encountered: