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