Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional "size" key being added to DotMap when converting from a nested dictionary #97

Open
philip928lin opened this issue Jun 27, 2023 · 1 comment

Comments

@philip928lin
Copy link

philip928lin commented Jun 27, 2023

When I convert a nested dictionary, it appears that additional items are added to the DotMap with the keys named "size" or "compute."
This sometimes causes the problem when doing "for k, v in DotMapObject.items():"
Those additional items will also stay when converting back to the dictionary.
Does anyone know why? and how to avoid that?

image
image

@FelixSchwarz
Copy link
Collaborator

Can you provide us with a code snippet that demonstrates the problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants