Skip to content

Improve design #1232

@acampove

Description

@acampove

Hi,

When I need to convert a DictConfig to a dictionary I need to do:

import OmegaConf

x = OmegaConf.to_container(obj)

which is unnecessarily cumbersome, It would be better to have

x = obj.to_container()

same for lists.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions