class ClassWithMeta(Base, metaclass=MetaClass):
    pass

def __init__(self):
    super(ClassWithMeta, self).__init__()


@register
class DecoratedClass(Base):

    def __init__(self):
        super(DecoratedClass, self).__init__()
How to auto register a class when it's defined