'InputTypes can support specialized AJAX calls. Find the correct input and pass along the correct data
Also, parse out the dispatch from the get so that it can be passed onto the input type nicely'

def handle_input_ajax(self, data):

    input_id = data['input_id']
    if self.inputs[input_id]:
        dispatch = data['dispatch']
        return self.inputs[input_id].handle_ajax(dispatch, data)
    else:
        log.warning('Could    not    find    matching    input    for    id:    %s', input_id)
        return {}
