示例#1
0
 def __init__(self, type_identifier, members, **kwargs):
     self.__meta = kwargs.pop('meta', None)
     assert self.__meta is not None
     Provider.__init__(self, self.__meta.provides)
     Array.__init__(self, type_identifier, members, **kwargs)
示例#2
0
 def __init__(self, meta, encodable):
     self.__meta = meta
     self.__encodable = encodable
     Provider.__init__(self, meta.provides)
     Encodable.__init__(self, encodable.value)
示例#3
0
 def __init__(self, *args, **kwargs):
     self.meta = kwargs.pop('meta', None)
     assert self.meta is not None
     Provider.__init__(self, self.meta.provides)
     List.__init__(self, *args, **kwargs)