|
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.
pydmrs/pydmrs/core.py
Line 145 in 6d24bda
If
sortinfois 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.