def loadHttpRequestDataset(httpRequest):
    try:
        result = requests.get(httpRequest.url)
    except requests.exceptions.InvalidURL:
        raise InvalidDatasetException("Invalid url: %s" % httpRequest.url)
    except requests.exceptions.MissingSchema:
        raise InvalidDatasetException("Invalid url: %s" % httpRequest.url)
    except requests.exceptions.TooManyRedirects:
        raise InvalidDatasetException("Too many redirects")
    except requests.exceptions.Timeout:
        raise InvalidDatasetException("Server timed out")
    except requests.exceptions.ConnectionError:
        raise InvalidDatasetException("Couldn't connect to url %s" % httpRequest.url)
    except requests.exceptions.RequestException as e:
        raise InvalidDatasetException(e.message)

    return str(result.content), result.status_code
Wait for all running containers to stop.
dataset/ETHPy150Open ufora/ufora/ufora/FORA/python/PythonIoTasks.py/loadHttpRequestDataset--crossover with--dataset/ETHPy150Open onefinestay/nameko/nameko/runners.py/ServiceRunner.wait