from optunaz.utils.enums.configuration_enum import ConfigurationEnum
[docs]class PredictionConfigurationEnum(ConfigurationEnum):
"""This "Enum" serves to store all the strings used in parsing the prediction configurations. Note, that validity
checks are not performed, but referred to JSON Schema validations."""
DATA_DATASET = "dataset"
# try to find the internal value and return
def __getattr__(self, name):
if name in self:
return name
raise AttributeError
# prohibit any attempt to set any values
def __setattr__(self, key, value):
raise ValueError("No changes allowed.")