Extending numba type to class that inherits

Hi,
I’m trying to create a custom numba type using this tutorial. But my class inherits from another class. Assuming I have extended numba to recognize the parent class, how can I modify this example so that I can extend the child class? In the “Interval” example, there is no parent class.