def _createReservationCallback2(self, data, function_name, uuid):
        for row in data:
            if row[0] == False:
                raise row[1]
        if len(data) == 1:
            return {data[0][1]:{}}
        else:
            return {data[0][1]:data[1][1]}
dataset/ETHPy150Open wehriam/awspider/awspider/servers/interface.py/InterfaceServer._createReservationCallback2/original