def hard_get(data: dict, set_name: str):
    """
    Get settings value from a dict,
    Use when the setting required.
    :param data: dict with data
    :param set_name: setting name
    :return: setting value
    :raise: ValueError if value does not exist
    """
    try:
        value = data[set_name]
        return value
    except KeyError:
        raise ValueError(f"Provide value for {set_name.upper()}")