gmr / flatdict

Python module for interacting with nested dicts as a single level dict with delimited keys.
https://flatdict.readthedocs.io
BSD 3-Clause "New" or "Revised" License
111 stars 32 forks source link

fix bug listed in #26 #27

Closed mileslucas closed 5 years ago

mileslucas commented 5 years ago

I have fixed the bug I listed in #26 by editing and adding an if-case to FlatterDict.as_dict(). I've added a test case, checked that everything passes, and ensured coverage remained at 99%. I've incremented the version to 3.1.1 and formatted everything using yapf as listed in the contributing guide.

I hope with this pull you could also release a new pypi version so I can list it as a dependency more easily in my code base.

Thanks!