OneOf validator behavior inverted - validates when value is in choices
OneOf validator behavior inverted - validates when value is in choices: a task in UltraTerminal (Harbor dataset). The OneOf validator is behaving incorrectly - it's raising ValidationError when the value IS in the choices list, instead of when it's NOT in the choices list. Additionally, it's…
The task
The OneOf validator is behaving incorrectly - it's raising ValidationError when the value IS in the choices list, instead of when it's NOT in the choices list. Additionally, it's returning None instead of the validated value.
Part of harness-hub/UltraTerminal.