def __init__(self, db_uri):
    "\n        db_uri = f'mysql+pymysql://{username}:{password}@{host}:{port}/{database}?charset=utf8mb4'\n\n        "
    engine = create_engine(db_uri)
    self.session = sessionmaker(bind=engine)()
db_uri = f'mysql+pymysql://{username}:{password}@{host}:{port}/{database}?charset=utf8mb4'
def __init__(self, db_uri):
    "\n        \n\n        "
    engine = create_engine(db_uri)
    self.session = sessionmaker(bind=engine)()