Skip to content

Fixed issues in #126#170

Merged
johnwmillr merged 4 commits into
johnwmillr:masterfrom
allerter:fix-126
Nov 8, 2020
Merged

Fixed issues in #126#170
johnwmillr merged 4 commits into
johnwmillr:masterfrom
allerter:fix-126

Conversation

@allerter
Copy link
Copy Markdown
Contributor

@allerter allerter commented Nov 7, 2020

  • added encoding using utf-8 when saving files
  • removed binary encoding
  • genius.tag(): replaced unicodedata.normalize with only replacing \xa0
  • fixed IndentationError
  • __main__.py: made import relative

allerter and others added 4 commits September 29, 2020 22:34
* added auth

* added voting methods for annotations

* renamed client_access_token to access_token

* added documentation for authorization,
renamed all instances of client_access_token to access_token

* fixed instance parse_redirected_url didn't work with 'token' flow

* added OAuth2 documentation,
modified OAuth2 to make it user-friendlier

* removed Authenticating yourself from snippets,
added missing commas

* Revert "removed Authenticating yourself from snippets,"

This reverts commit d2e99bb.

* added missing comma

* added more missing commas

* added missing word in sippets

* changed get_user_auth_url to auth.url property,
changed 'all' scope type to tuple,
fixed combining scopes (changed ',' to ' ')

* changed calling get_user_auth_url to url

* fixed client_only_app not in OAuth2 attributes

* fixed parse_redirected_url

* set None in POST body params when optional annotation parameteres aren't supplied

* revert to current _make_request

* fixed typo

* added some docs, fixed new methods' payload

* fixed response for 204 response,
added tests

* fixed added test bugs

* fixed update_annotation and added its test,
added docs for contributing

* added example redirect uri to snippets

* commit changes

* add text_format to API annotation methods

* fixed prompt_user bug

* fix flake8 error

* fixed bugs, added auth tests

* fix test_url error

* fix wrong function name

* removed test_url

Co-authored-by: John W. Miller <johnwmillr@users.noreply.github.com>
- removed binary encoding
- genius.tag(): replaced unicodedata.normalize with only replacing \xa0
- fixed IndentationError
- __main__: made import relative
Copy link
Copy Markdown
Owner

@johnwmillr johnwmillr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good PR, thank you for the quick fix.

@johnwmillr johnwmillr merged commit 47109a3 into johnwmillr:master Nov 8, 2020
@allerter allerter deleted the fix-126 branch February 10, 2021 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants