def get(self):
    self._lock.acquire()
    try:
      f = open(self._filename, 'r')
      credentials = pickle.loads(f.read())
      f.close()
      credentials.set_store(self.put)
    except:
      credentials = None
    self._lock.release()

    return credentials
Retrieve Credential from file.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/google-api-python-client/apiclient/ext/file.py/Storage.get