Skip to content

Commit

Permalink
fix: DatabaseParallelConnectionError for frappe_db
Browse files Browse the repository at this point in the history
  • Loading branch information
nextchamp-saqib committed Apr 4, 2024
1 parent f0d5615 commit bda350c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
DatabaseCredentialsError,
DatabaseParallelConnectionError,
)
from .mariadb import MARIADB_TO_GENERIC_TYPES
from .mariadb import MARIADB_TO_GENERIC_TYPES, MariaDB
from .utils import create_insights_table, get_sqlalchemy_engine


Expand Down Expand Up @@ -203,7 +203,7 @@ def get_dynamic_link_map(self):
return dynamic_link_map


class FrappeDB(BaseDatabase):
class FrappeDB(MariaDB):
def __init__(self, data_source, host, port, username, password, database_name, use_ssl, **_):
self.data_source = data_source
self.engine = get_sqlalchemy_engine(
Expand Down

0 comments on commit bda350c

Please sign in to comment.