Is it possible to update a MongoEngine document using a python dict?
For example:
class Pets(EmbeddedDocument): name = StringField() class Person(Do
To store python dict as a sub document one may use mongoengine.fields.DictField.
mongoengine.fields.DictField
Checkout manuals.
A dictionary field that wraps a standard Python dictionary. This is similar to an embedded document, but the structure is not defined.