google / google/ml_collections
[Feature Request] Allow unsorted iteration
Open
- Dominant language
- Python
- Stars
- 1k
- Forks
- 49
- PR merge metrics
- No merged PRs in 30d
Description
Currently, when you do `config_dict.keys()` or `config_dict.values()` it automatically sorts the dict by keys before returning. However, sometimes the ordering in which the key value pairs were inserted matter, so it would be nice to have a flag like `sorted=False` which allows you to get the dictionary in its original form.
Contributor guide
Assessment
This issue has not been assessed yet.