Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(5230)

Issue 7895045: oauth2client: update compute engine token endpoint

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 1 month ago by proppy
Modified:
11 years, 1 month ago
CC:
google-api-python-client_googlegroups.com, krisbin_google.com
Visibility:
Public.

Description

update compute engine token endpoint

Patch Set 1 #

Patch Set 2 : update implementation #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -25 lines) Patch
M oauth2client/gce.py View 1 4 chunks +7 lines, -17 lines 1 comment Download
M tests/test_oauth2client_gce.py View 2 chunks +6 lines, -8 lines 0 comments Download

Messages

Total messages: 2
proppy
Update the gce oauth2client integration to call the documented endpoints for access token, and remove ...
11 years, 1 month ago (2013-03-20 20:36:02 UTC) #1
dhermes
11 years, 1 month ago (2013-03-20 21:53:18 UTC) #2
Great change to see!

https://codereview.appspot.com/7895045/diff/2001/oauth2client/gce.py
File oauth2client/gce.py (right):

https://codereview.appspot.com/7895045/diff/2001/oauth2client/gce.py#newcode51
oauth2client/gce.py:51: def __init__(self, **kwargs):
I asked previously to remove scope from this but it seems we can't change
signatures in a breaking fashion until a v2.0.

A middle ground would be to have a *args which also does nothing.

On a side note, these variable names should be unused_args and unused_kwargs to
indicate their lack of use.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b