Current keys/values/items repr also displays the repr of the full object which makes debugging difficult, especially when objects are nested or contain multiple leafs or large arrays. This change makes the repr of keys/values/items the same as if the object was a dictionary.
chex: Improve repr of dataclass keys/values.
Current keys/values/items repr also displays the repr of the full object which makes debugging difficult, especially when objects are nested or contain multiple leafs or large arrays. This change makes the repr of keys/values/items the same as if the object was a dictionary.