def head(self, robj, r=None, pr=None, vtag=None): with (yield self._getFreeTransport()) as transport: ret = yield transport.get(robj.get_bucket().name, robj.get_key(), r=r, pr=pr, head=True) defer.returnValue(self.parseRpbGetResp(ret))
def head(self, robj, r=None, pr=None, vtag=None): with (yield self._getFreeTransport()) as transport: ret = yield transport.get(robj.get_bucket().get_name(), robj.get_key(), r=r, pr=pr, head=True) defer.returnValue(self.parseRpbGetResp(ret))
def get(self, robj, r=None, pr=None, vtag=None): # ***FIXME*** whats vtag for? ignored for now with (yield self._getFreeTransport()) as transport: ret = yield transport.get(robj.get_bucket().get_name(), robj.get_key(), r=r, pr=pr) defer.returnValue(self.parseRpbGetResp(ret))