Skip to content

Releases: Kilo59/glom-dict

add `.assign()`

12 Jun 18:37
d6bc03b
Compare
Choose a tag to compare
add `.assign()` Pre-release
Pre-release

Add a .assign(path, val, missing = None) convenience method.
Can now use the missing callable to backfill missing data structures.

>>> from glom_dict import GlomDict
>>> my_dict = GlomDict()
>>> my_dict.assign('a.b.c', 'hi', missing=dict)
{'a': {'b': {'c': 'hi'}}}

Python 3.6 support

08 Jun 03:49
Compare
Choose a tag to compare
Python 3.6 support Pre-release
Pre-release

Add support for python 3.6.2 and above