I know I can do:
class Foo(Object):
@classmethod
def run(cls):
// do stuff
class Bar(Foo):
@classmethod:
def run(cls):
super(Bar, cls).run()
// do more stuff
However, what I want to do is more along the lines of super(cls.__name__, cls).run()
. This unfortunately doesn't work, with the error:
super(cls.__name__, cls).run(cls)
TypeError: must be type, not str