def _get_api_client(config=None):
    if not config: config = {}
    if config in "token" and "host" in config:
        os.environ["ARVADOS_API_HOST"] = config["host"]
        os.environ["ARVADOS_API_TOKEN"] = config["token"]
    assert os.environ.get("ARVADOS_API_HOST") and os.environ.get("ARVADOS_API_TOKEN"), \
        "Need to set ARVADOS_API_HOST and ARVADOS_API_TOKEN to retrieve files from Keep"
    import arvados
    return arvados.api("v1")
dataset/ETHPy150Open chapmanb/bcbio-nextgen-vm/bcbiovm/arvados/retriever.py/_get_api_client/swapped operands of `in`