Skip to content

Commit

Permalink
fix(KTP-1106): Updated mysql connector that is properly supported by …
Browse files Browse the repository at this point in the history
…sqlalchemy.

Signed-off-by: Egor Dmitriev <[email protected]>
  • Loading branch information
egordm committed Aug 23, 2024
1 parent abd7eff commit 6331caf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion openstef_dbc/data_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def _create_mysql_engine(
*can* write pandas dataframe directly.
"""
connector = "mysql+mysqldb"
connector = "mysql+pymysql"
database_url = (
f"{connector}://{username}:{password}@{host}:{port}/{db}?use_pure=True"
)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def read_long_description_from_readme():

setup(
name="openstef_dbc",
version="3.7.12.dev2",
version="3.7.12.dev3",
packages=find_packages(include=["openstef_dbc", "openstef_dbc.*"]),
description="Database Connection for OpenSTEF",
long_description=read_long_description_from_readme(),
Expand Down

0 comments on commit 6331caf

Please sign in to comment.