[Fixed]-Super() method resolution in python

1👍

Because that’s the way method resolution works. Python will go through the classes in the order they are declared and call the first method it finds. When you declare the original widget first, Python will find its render method and call it; it will never proceed to your implementation. But when you put yours first, Python will call that, and then when it gets to super() will call the original.

Leave a comment