class_docstr: Base class for dynamic documents that are embedded within other
  documents and therefore aren't stored in their own collection in the
  database.
  
  Dynamic documents can have arbitrary fields added to them.
class_docstr_tok: ["Base","class","for","dynamic","documents","that","are","embedded","within","other","documents","and","therefore","are","n't","stored","in","their","own","collection","in","the","database",".","Dynamic","documents","can","have","arbitrary","fields","added","to","them","."]
code: def __init__(self, *args, **kwargs):
      super().__init__(*args, **kwargs)
      self.validate()
  
file_path: fiftyone/fiftyone/core/odm/embedded_document.py
imports: import mongoengine
  from .document import DynamicMixin, MongoEngineBaseDocument
label_desc: Use image node_id 1 to create a new DynamicEmbeddedDocument object from inherited base classes: DynamicMixin, BaseEmbeddedDocument, mongoengine with example: obj = DynamicEmbeddedDocument()