def get(self, v): if v in self.__dict__: return self.__dict__[v] utils.error('Api get error: %s'%str(v))