def _op_call(self, name, op, *args, **kw): akw = self._akw if self._field or name not in akw.op_map: return self.__super._op_call(name, op, *args, **kw) else: cidr_op = akw.op_map[name] op_proxy = _QX_Call_Proxy_(self, akw, name, cidr_op(akw)) return QX.Call(self, name, op_proxy, *args, **kw)
def _op_call (self, name, op, * args, ** kw) : akw = self._akw if name not in akw.op_map : return self.__super._op_call (name, op, * args, ** kw) else : op_getter = akw.op_map [name] op_name = op_getter (akw) op_proxy = _QX_Call_Proxy_ (self, akw, name, op_name) result = QX.Call (self, name, op_proxy, * args, ** kw) return result