def value_from_request(self, dispatcher, model, path):

        if(len(path) > 0):
            # set individual list element
            item_value = self.sub_handler.value_from_raw_string(
                dispatcher.request.body_file.getvalue())
            value = getattr(model, self.property_name)
            item_index = int(path.pop(0))
            if(item_index == len(value)):
                value.append(item_value)
            else:
                value[item_index] = item_value
            return

        # set entire list from xml/json
        doc = dispatcher.input_to_xml()

        try:
            props = {}
            self.read_xml_value(props, doc.documentElement)
            value = props[self.property_name]
            setattr(model, self.property_name, value)
        finally:
            doc.unlink()


# Dynamic Property: "values for query"
# Coerce basic Python types from strings.
Gathers and sends an interface trunk XML snippet.
dataset/ETHPy150Open jahlborn/appengine-rest-server/src/main/python/rest/__init__.py/ListHandler.value_from_request--crossover with--dataset/ETHPy150Open openstack/networking-cisco/networking_cisco/plugins/ml2/drivers/cisco/nexus/nexus_network_driver.py/CiscoNexusDriver.send_enable_vlan_on_trunk_int