mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-27 00:25:54 +03:00
[PR #461] [MERGED] Print -> Logging #908
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#908
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?
📋 Pull Request Information
Original PR: https://github.com/spotipy-dev/spotipy/pull/461
Author: @Beahmer89
Created: 4/2/2020
Status: ✅ Merged
Merged: 4/3/2020
Merged by: @stephanebruckert
Base:
master← Head:logging📝 Commits (7)
636258eLogging - add logging lines to client and remove traceceb9167Logging - add logging lines to oauth0bbff4aLogging - add logging lines to util8a8c7e0Logging - Modify examples to show logging works as expected74c3621Bug - fixing issue with default port that results in permissions issuefd427deLogging - PR Feedback: bring back some info into debug logging and lowercase logger global var568d5c2Logging - Update changelog📊 Changes
15 files changed (+303 additions, -288 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
CONTRIBUTING.md(+2 -2)📝
examples/add_a_saved_album.py(+30 -21)📝
examples/add_a_saved_track.py(+31 -21)📝
examples/add_tracks_to_playlist.py(+32 -21)📝
examples/artist_albums.py(+25 -15)📝
examples/artist_discography.py(+28 -22)📝
examples/artist_recommendations.py(+26 -15)📝
examples/change_playlist_details.py(+47 -35)📝
examples/create_playlist.py(+33 -24)➖
examples/errors.py(+0 -19)➖
examples/test_request_timeout.py(+0 -14)📝
spotipy/client.py(+22 -43)📝
spotipy/oauth2.py(+21 -32)📝
spotipy/util.py(+5 -4)📄 Description
Purpose of PR
This is related to Issue 84. Currently spotipy is using print statements in order to provide users with information about what is happening in the code. It is much more effective to use the logging library in python so that users are able to customize the output and see the logging within their app thats using spotipy.
What was Done
traceattribute as it is no longer neededloggingandargparsesocket.error: [Errno 13] Permission denied(even when I changed my app to use default port 80)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.