-
Notifications
You must be signed in to change notification settings - Fork 167
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
v3.0 #171
v3.0 #171
Conversation
|
…st_songs doesn't return that key in song info) - types.Song: removed Song.instrumental - clean_str(): change normalization method to NKFC - docs/snippets: changes in snippets titles
- added Track type - docs: added 'release_data' to sort options in artist_songs - docs: added track docs
- added __repr__ for track
- updated snippets - added InvalidState for when self.state and passed state don't match
- moved InvalidState exception to errors.py
- fixed prompt_user to allow the code flow
- added some tests for auth
…resent in env vars fixed page_data for song which returned 404
(genius adds this character before strings that their first letter is lower case)
The PR is ready to go. All tests are passing locally for me. Thank you for your hard work on this, @allerter. Should we update the package version to 3.0.0? |
The tests passed on Travis CI too. I think we're ready to go. |
I forgot to update the release notes in the docs and on GitHub's Releases page. Please merge this PR after I commit the release notes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks again for the excellent PR, @allerter. I will merge it once you've finished the release notes.
Happy to contribute, @johnwmillr. |
3.0.0 is live on PyPi! |
types
attributes using the information in docstrings but they looked a bit messy. So I removed them and manually put them in a table in docsalbum.songs
toalbum.tracks
Track
type (Note: On Genius a track just has thenumber
andsong
attributes, but sinceTrack
inheritsBaseEntity
it will have a redundantid
attribute andTrack.id == Track.song.id
.)