def __init__(self, **kwargs): AttributeGetter.__init__(self, kwargs)
def __repr__(self, detail_list=None): detail_list = [] for key, val in self.__class__.__dict__.iteritems(): if isinstance(val, BaseField): detail_list.append(key) return AttributeGetter.__repr__(self, detail_list)
def __init__(self, client, attributes): AttributeGetter.__init__(self, attributes) self.client = client
def __init__(self, *args, **kwargs): for key, val in self.__class__.__dict__.iteritems(): if isinstance(val, BaseField): val.name = key AttributeGetter.__init__(self, kwargs)