def build_daily_history_table(ticket):
    classname = ticket + '_HistoricDay'
ticket = type(classname, (Base, HistoricDay), {'__tablename__': ticket +
    '_daily_history'})
ticket.__repr__ = build_daily_history_table_repr
return ticket
build_daily_history_table('test').__table__.create(bind=engine)
How to create only one table with SQLAlchemy?