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
Reworked @bryanlandia extension to allow application-only authentication #423
Conversation
Review status: 0 of 1 files reviewed at latest revision, 2 unresolved discussions. twitter/api.py, line 263 at r1 (raw file):
Could we simplify this logic to:
I think it accomplishes the same thing, but I could be totally wrong. twitter/api.py, line 283 at r1 (raw file):
This should be four spaces. Comments from Reviewable |
Review status: 0 of 1 files reviewed at latest revision, 2 unresolved discussions. twitter/api.py, line 263 at r1 (raw file):
twitter/api.py, line 283 at r1 (raw file): Previously, jeremylow (Jeremy Low) wrote…
Oops. Comments from Reviewable |
Review status: 0 of 1 files reviewed at latest revision, 1 unresolved discussion. twitter/api.py, line 263 at r1 (raw file): Previously, jschultz (Jonathan) wrote…
My concern with that is that it doesn't allow for creating an API instance without keys:
whereas the current behavior is to allow that unless someone specifies a
Comments from Reviewable |
Reviewed 1 of 1 files at r2. Comments from Reviewable |
Review status: all files reviewed at latest revision, 1 unresolved discussion. twitter/api.py, line 263 at r1 (raw file): Previously, jeremylow (Jeremy Low) wrote…
OK, changing existing behaviour as little as possible is good practice. But OTOH what is the sense of creating an API instance without any keys? That is, if it's just going to cause an error later on, isn't it better to trap the error as soon as it can be detected? Comments from Reviewable |
Since this is a point release, let's leave the logic as in |
Review status: 0 of 1 files reviewed at latest revision, all discussions resolved. Comments from Reviewable |
Reviewed 1 of 1 files at r3. Comments from Reviewable |
Arghhh I was trying to make a new pull request but the change (Added GetStatuses method) seems to have been added to this pull request. I think I'll need several lifetimes before I can use git without making this kind of blunder. [EDIT] I think I've managed to roll back the unwanted commit. Sorry for the mess... |
fwiw, I like to do feature branches to keep things straight. One tool I use for that is git-flow Review status: 0 of 1 files reviewed at latest revision, all discussions resolved. Comments from Reviewable |
Reviewed 1 of 1 files at r4. Comments from Reviewable |
When should we expect to see a new release with this PR? Very interested in using Application-only Authentication. |
@noahleigh going to work on that tonight |
I tidied up bryanlandia@ b6a427a a little, notably to remove the requirement to provide an access token when using application-only authentication. Also changed (removed) exception trapping, to make the changes consistent with existing code.
This change is