Closed sanagno closed 1 year ago
Thank you for this PR, it looks correct! I think the type annotation on ORDER_MAP should also be changed, right?
Good catch, I think it should be of Type TraversalOrder.
Awesome, thanks so much! I'll merge this into v1.1.
The correct check for a custom TraversalOrder should be that
order
is not a subclass of TraversalOrder and not an instance of it.