def none_parser(value: str) -> None:
    """Returns None if the value is 'None', else raises an error"""
    if value == "None":
        return None
    raise ValueError(f"NoneType not a valid type for {value}")