def METHOD_NAME(self, group: str, argument: Optional[str] = None) -> Any:
    """
    Delete an argument from an argument group or the entire argument group.
    Used in conjunction with the set_arguments() method.
    generator.del_arguments('small')
    generator.del_arguments('small', 'max_value')
    """
    if group in self.__config["arguments"]:
        if argument:
            result = self.__config["arguments"][group].pop(argument)
        else:
            result = self.__config["arguments"].pop(group)
    else:
        result = None
    return result