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? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
from dataclasses import * from typing import * from omegaconf import OmegaConf @dataclass class Foo: a : Dict[str, Optional[str]] OmegaConf.structured(Foo)
Raises an assertion failure
The text was updated successfully, but these errors were encountered:
@pereman2, related to your ongoing work on better containers support.
Sorry, something went wrong.
I think this will require expanding what DictConfig._metadata can handle.
DictConfig._metadata
For example, DictConfig({}, element_type=str) works but DictConfig({}, element_type=Optional[str]) fails.
DictConfig({}, element_type=str)
DictConfig({}, element_type=Optional[str])
Sounds right.
Successfully merging a pull request may close this issue.
Raises an assertion failure
The text was updated successfully, but these errors were encountered: