Beispiel #1
0
 def _get_struct(self, name=None, parent=None):
     ls = List(name or self.name, self.field.type)
     ls._parent = parent
     return ls
Beispiel #2
0
 def get_message_object(self, parent):
     lst = List(self.name, self.field.type)
     lst._parent = parent
     return lst