mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-26 16:15:51 +03:00
[PR #1130] [MERGED] Added and revised function docstrings for util.py #1171
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#1171
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/1130
Author: @dianna-SE
Created: 6/6/2024
Status: ✅ Merged
Merged: 6/18/2024
Merged by: @dieser-niko
Base:
master← Head:util-function-docstrings📝 Commits (3)
6ef01c4Added and revised function docstrings for util.py9acadbeadded credentials to gitignore7553bd2Addressed request changes by reverting/modifying function docstrings to match the format used in client.py📊 Changes
2 files changed (+27 additions, -15 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
spotipy/util.py(+26 -15)📄 Description
Description of PR
This pull request adds function docstrings that include arguments, returns and raises according to standard styling guidelines for Python. The prompt_for_user_token function docstring is revised for clarity -- credits to dieser-niko for the helpful explanation of these functions. It addresses issue #1115. This is a new and updated PR of a previous issue that I closed due to complications and commit issues.
Changes
Additional Context
I previously submitted a pull request that I decided to close due to complications with the commit history and incorrect implementation. I decided to create a new pull request with a more accurate implementation.
I am new to open-source contributions so I really appreciate any feedback to help me improve!
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
current_user_top_artists#1194