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
We're running into an issue where if we convert the dataclass object into a dict after reading it and then attempt to convert that dict into an object again with simple_parsing.helpers.serialization.serializable.from_dict(), we see the exception we expected to see earlier
Bug Description
When loading a config from a YAML file,
Literal
type annotation is not validated.To Reproduce
example.yml contents:
Expected behavior
simple_parsing should raise an exception like "'one' or 'two' is required for field 'bar', 'three' is an invalid value"
Actual behavior
simple_parsing does not raise an exception
The text was updated successfully, but these errors were encountered: