Skip to content

The baseclass property of PolymorphicSerializer is private #515

@pdvrieze

Description

@pdvrieze

For my XML parsing I'm trying to enumerate all possible polymorphic children of a parent (as declared in the serialmodule). To do so I need to know the actual base class. This information is encapsulated in the baseclass parameter of Polymorhpic serializer.

Currently I'm using a hack where trigger a lookup on a dummy context which will tell me the base class. It's much easier to just get the property value directly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions