return instance


class BaseHandler(object, metaclass=MetaHandler):
    pass

def prepare(self):
    print('BaseHandler.prepare')


class SubHandler(BaseHandler):

    def prepare(self):
        print('SubHandler.prepare')
In python, how can I ensure that one of my class's methods is always called even if a subclass overrides it?