We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
d = AttrDict({'a': 1, 'b': AttrDict({'c': 3})})
converting to dict:
In [10]: d.to_dict() Out[10]: {'a': 1, 'b': {'c': 3}}
In [12]: type(d.to_dict()['b']) Out[12]: elasticsearch_dsl.utils.AttrDict
Expecting dict as type of b.
dict
b