Page 1 of 1

Inheritance documentation

Posted: 28 May 2019, 10:46
by lorb
I tried subclassing revpimodio2.RevPiModIO but was met with all kinds if weird error messages. Turns out there is a part in __init__ that prevents configuration from happening for subclasses. Is there a specific reason why this is the case? This should be documented somewhere that is easy to find, or at least throw an error that is more clear what the actual problem is.