mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-27 00:25:54 +03:00
[GH-ISSUE #282] hide the Request-Response Information printed out, while wanted #156
Labels
No labels
api-bug
bug
dependencies
documentation
duplicate
enhancement
external-ide
headless-mode
implicit-grant-flow
invalid
missing-endpoint
pr-welcome
private-api
pull-request
question
spotipy3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotipy#156
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @smyrbdr on GitHub (May 2, 2018).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/282
Hi,
I asked this question on StackOverflow, and not sure it is an issue related to requests package or another general .ipynb setting. If this is so, excuse me.
So the issue is while I call any function from Spotipy, I first get the long outputs as below printed out each time;
headers {' #some info herehttp status 200GET https://api. ... # GET request link hereRESP { ... # a lot of (sometimes undesired) output printed hereThis info is sometimes useful. But sometimes we may want to clear them from the outputs.
Something like setting a parameter to silent. Is it possible to hide the above outputs by requests?
@smyrbdr commented on GitHub (May 2, 2018):
It is suddenly solved I don't know why and how, after running the kernel multiple times
@shillshocked commented on GitHub (Oct 23, 2019):
I'm getting this too, now that I added:
@shillshocked commented on GitHub (Oct 23, 2019):
Ah, got it to go away with:
sp.trace = False