We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
The following code should work, but currently crashes with ValidationError: child 'b' is not Optional:
ValidationError: child 'b' is not Optional
@dataclass class Config: a: int = 3 b: Optional[int] = "${a}" cfg = OmegaConf.structured(Config) cfg.b = None
To Reproduce See above
Expected behavior No error
Additional context This is on current master (8103a84)
The text was updated successfully, but these errors were encountered:
Fix optional flag for interpolated nodes
6b0fead
Fixes omry#524
Fix optional flag for interpolated nodes (#525)
fd96723
Fixes #524
Successfully merging a pull request may close this issue.
Describe the bug
The following code should work, but currently crashes with
ValidationError: child 'b' is not Optional
:To Reproduce
See above
Expected behavior
No error
Additional context
This is on current master (8103a84)
The text was updated successfully, but these errors were encountered: