Skip to content

What's the purpose of needing allow_inheritance for EmbeddedDocument ? #429

@m-vdb

Description

@m-vdb
class BaseTransformationEmbedded(EmbeddedDocument):
    pass

I have this error if I don't put allow_inheritance to True in meta dict:

ValueError: Document BaseTransformationEmbedded may not be subclassed

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions