Hi,
I find this type of code quite often:
class MyOverridedClass(MyBaseClass):
def mymethod(self, foo, **kwargs):
# Do something
return super().mymethod(**kwargs)
What about creating a decorator to call super() after/before the overrided method? Something like that:
class MyOverridedClass(MyBaseClass):
@extendsuper
def mymethod(self, foo):
# Do something
Sorry if this has already been proposed, I have not found anything similar in the list.
Best regards,
Roberto