Following the Google sample code at the time of publication, the OAUTH2 decoration for the application engine client should be imported as follows:
from oauth2client.appengine import OAuth2Decorator
Attempting to import this module results in the following log error:
from oauth2client.appengine import OAuth2DecoratorImportError: no module named appengine
ImportError: no module named appengine
Google moved the module, but did not update its sample code.
Correct import now:
from oauth2client.contrib.appengine import OAuth2Decorator
(Note the contrib module. Many related modules are also located there.)
contrib
Source: https://habr.com/ru/post/1245264/More articles:How to make PDF from React? - reactjsAngular2 upgradeAdapter does not work with $ rootScope, $ state, etc. - angularjsMeteor: "Application Deployment Error: Your account is not allowed to deploy to Galaxy" - deploymentAmbiguity in low priority priorities - scalaEOF reached the end of the file - cUsing DBFlow, how to encrypt an existing database? - androidextracting the first and last positions in the data set - rRemoving the default interval in the recycler view layout - androidHow to prevent burning conditions when working with Qt Network classes - c ++Creating a PDF File from React Components - pdfAll Articles