Closed
Description
Currently normalize_dict
blows up on the following if added the the tests
assert normalize_dict({"a": ["1", "2"]}) == {"a": ["1", "2"]}
Given the type signature it seems like this should be supported. It looks like since normalize_dict
is deconstructing any lists with
elif isinstance(val, list):
val[:] = [normalize_dict(x) for x in val]
this assumption is that all elements in the list are also dictionaries. It seems like it should be okay to have a list of non dictionary items.
Metadata
Metadata
Assignees
Labels
No labels