Skip to content
New issue

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

Convert from OrderedDict? #1156

Open
jprawiharjo opened this issue Feb 22, 2024 Discussed in #1155 · 1 comment
Open

Convert from OrderedDict? #1156

jprawiharjo opened this issue Feb 22, 2024 Discussed in #1155 · 1 comment

Comments

@jprawiharjo
Copy link

Discussed in #1155

Originally posted by jprawiharjo February 22, 2024
I have a nested dict that contains OrderedDict. How do I convert this to omegaconf? Both save and create complain:

omegaconf.errors.UnsupportedValueType: Value 'OrderedDict' is not a supported primitive type

@odelalleau
Copy link
Collaborator

Posted a workaround in #1155 (comment) (but I agree it'd be good to just support any dict subclass).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants