from sqlalchemy import create_engine
from sqlalchemy.ext.declarative import declarative_base
from model_data_test import settings

def DB_Base():
    engine = create_engine(settings.DB_CONNECT_STRING['model_db'],connect_args={"use_unicode":True,"charset":"utf8"})
    Base = declarative_base(bind=engine)
    return Base