You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One more note - this is an issue for us as when we write out the config it will use the value ("tall" in this case) but that same config can't be read back in as it will throw the above error.
Describe the bug
In the example in the docs for Enums these all work:
but for Str enums (same as docs but use StrEnum instead):
The first two examples work as with regular enums but the third:
gives:
omegaconf.errors.ValidationError: Invalid value 'tall', expected one of [SHORT, TALL]
To Reproduce
See description
Expected behavior
You would be able to set a StrEnum with the key or the value.
Additional context
The text was updated successfully, but these errors were encountered: