How can I get the parent class(es) of a Python class?
New-style classes have an mro method you can call which returns a list of parent classes in method resolution order.
How to get the parents of a Python class?