class EmbeddedDocumentFactory(factory.Factory):
    ABSTRACT_FACTORY = True

@classmethod
def _prepare(cls, create, **kwargs):
    return super(EmbeddedDocumentFactory, cls)._prepare(False, **kwargs)
How do you use factory_boy to model a MongoEngine EmbeddedDocument?