def get_data(self, request, string): node_id, node_type = string.split('#') return get_node(request, node_type, node_id)