def return_config_without_apis(*, config: dict):  # pylint: disable=redefined-outer-name
    """
    A helper test function to help when mocking functions such as filter_config

    Returns the provided config dict after removing the "apis" keys
    """
    del config["apis"]
    return config