Skip to content

as_dict() not working with empty dict values #43

Description

@eevleevs

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': {}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions