def get(self):

    self.session = Session()
    oauth_token = gdata.auth.OAuthTokenFromUrl(self.request.uri)
    if oauth_token:
      oauth_token.oauth_input_params = gdocs.GetOAuthInputParameters()
      gdocs.SetOAuthToken(oauth_token)

      # 3.) Exchange the authorized request token for an access token
      oauth_verifier = self.request.get('oauth_verifier', default_value='')
      access_token = gdocs.UpgradeToOAuthAccessToken(
          oauth_verifier=oauth_verifier)

      # Remember the access token in the current user's token store
      if access_token and users.get_current_user():
        gdocs.token_store.add_token(access_token)
      elif access_token:
        gdocs.current_token = access_token
        gdocs.SetOAuthToken(access_token)

    self.redirect('/')

  # POST /get_oauth_token
Starts running a queue handler and creates a log file for the queue.
dataset/ETHPy150Open kuri65536/python-for-android/python-build/python-libs/gdata/samples/oauth/oauth_on_appengine/main_rsa.py/OAuthDance.get--crossover with--dataset/ETHPy150Open SmokinCaterpillar/pypet/pypet/environment.py/_wrap_handling