We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If you have a value that is an empty dict, it will be set as another FlatDict, that is not cast back by as_dict().
Actual:
>>> FlatDict({'a': {}}).as_dict() {'a': <FlatDict id=140733286897024 {}>"}
Expected:
>>> FlatDict({'a': {}}).as_dict() {'a': {}}
The text was updated successfully, but these errors were encountered:
same issue. it depends on the use case but as a workaround i'm doing this
Sorry, something went wrong.
I have a PR out that should fix this #57
print(FlatDict({'a': {}, 'b': []}).as_dict()) {'a': {}, 'b': []}
The issue is a little more nuanced, turns out: #59
No branches or pull requests
If you have a value that is an empty dict, it will be set as another FlatDict, that is not cast back by as_dict().
Actual:
Expected:
The text was updated successfully, but these errors were encountered: