def put(self, credentials):
    self._lock.acquire()
    f = open(self._filename, 'w')
    f.write(pickle.dumps(credentials))
    f.close()
    self._lock.release()
Write a pickled Credentials to file.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/google-api-python-client/apiclient/ext/file.py/Storage.put