def __init__(self, client, attributes):
     AttributeGetter.__init__(self, attributes)
     self.client = client
示例#2
0
 def __init__(self, **kwargs):
     AttributeGetter.__init__(self, kwargs)
示例#3
0
    def __init__(self, *args, **kwargs):
        for key, val in self.__class__.__dict__.iteritems():
            if isinstance(val, BaseField):
                val.name = key

        AttributeGetter.__init__(self, kwargs)