Skip to content

Bug: Sortinfo inheritance #24

@emm68

Description

@emm68

elif isinstance(sortinfo, Sortinfo): # Allow Sortinfo instances

If sortinfo is of type EventSortinfo or InstanceSortinfo, the check fails and we end up with PydmrsTypeError: unsupported type for sortinfo. Something is wrong with how the inheritance is set up.

This shows up when you're custom building a Node from scratch, I haven't encountered it in other scenarios.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions