Closed kba closed 5 years ago
A profile can mark a value as not required yet define an enumeration of values:
# [...] Bag-Info: Enumerated-Tag: required: false default: "one" values: ["one", "two", "three"]
Currently, this raises a KeyError because the validator assumes that the presence of values implies required.
KeyError
values
required
Good catch!
A profile can mark a value as not required yet define an enumeration of values:
Currently, this raises a
KeyError
because the validator assumes that the presence ofvalues
impliesrequired
.