google / google/ml_collections

[Feature Request] Allow unsorted iteration

Open
#64 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.