Skip to content

Commit

Permalink
Use 'oracle+oracledb://'
Browse files Browse the repository at this point in the history
  • Loading branch information
leorudczenko committed Nov 26, 2024
1 parent bf39be6 commit 4df22f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etlhelper/db_helpers/oracle.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,5 @@ def get_sqlalchemy_connection_string(self, db_params, password_variable):
Returns connection string for SQLAlchemy engine.
"""
password = self.get_password(password_variable)
return (f'oracle://{db_params.user}:{password}@'
return (f'oracle+oracledb://{db_params.user}:{password}@'
f'{db_params.host}:{db_params.port}/{db_params.dbname}')

0 comments on commit 4df22f6

Please sign in to comment.