title: GAE-1.7.7's oauth2client/appengine.py:_create_flow(self, request_handler) returns AttributeError: 'Resource' object has no attribute 'request'
body: <p>I have an OAuth2 decorator:</p>
  
  <pre><code>decorator = OAuth2DecoratorFromClientSecrets(CLIENT_SECRETS, YOUTUBE_READ_WRITE_SCOPE)
  </code></pre>
  
  <p>... and I sometimes call a function that requires authentication:</p>
  
  <pre><code>  playlist_id = youtube_create_playlist(youtube)
  </code></pre>
  
  <p>... so I prepend it with <code>decorator</code>:</p>
  
  <pre><code>@decorator.oauth_required
  def youtube_create_playlist(youtube):
    playlists_insert_response = youtube.playlists().insert(
    ...
  </code></pre>
  
  <p>&rarr; As expected, when stepping into <code>youtube_create_playlist()</code>, I go through <code>oauth2client/appengine.py:oauth_required()</code>, then <code>check_oauth()</code>, then <code>_create_flow()</code>, where at line 674 of <code>appengine.py</code> 1.7.7 we have:</p>
  
  <pre><code>redirect_uri = request_handler.request.relative_url(
            self._callback_path) # Usually /oauth2callback
  </code></pre>
  
  <p>&rarr; But at this step, GAE trips up and throws exception <code>AttributeError: 'Resource' object has no attribute 'request'</code>. And indeed I can see in my Variables debugging pane that the <code>request_handler</code> object has no attribute 'request'. <strong>Am I doing something wrong? Is it a bug?</strong> I also created <a href="http://code.google.com/p/google-api-python-client/issues/detail?id=264" rel="nofollow">google-api-python-client issue264</a>.</p>