You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd probably call it a "limitation". The unflatten method expects a flattened mapping. If you pass it something that's only partially flattened, it'd be nice if if it retained the parts it didn't understand, but it's not unreasonable for it to not.
You could create a PR to expand the functionality of unflatten to handle mixed mappings like this if you think it's beneficial.
Some code chunk:
It's output:
As you can see - we have lost content of original 'ham' key. Is it a bug or just .unflatten feature?
The text was updated successfully, but these errors were encountered: