class Meta(type):

    def __init__(cls, classname, bases, dict_):
        print('Meta')
return super(Meta, cls).__init__(classname, bases, dict_)
Dealing with metaclass conflict with SQL Alchemy declarative base