def post(self): Q = self.request.get('Q') mu = self.request.get('mu') logging.info(mu) params = {"Q":Q, 'mu':mu} cloudid = pc.cloud(params) memcache.set(key='CID', value=cloudid) res = pc.cloud_res(cloudid) memcache.set(key='CID%s'%cloudid, value=res)
def longOnly(self): res = pc.cloud_res(self.cloudid) logging.info(res) return res