Skip to content

Commit 23c138a

Browse files
Merge pull request #1 from oracle-quickstart/connection-string-updated
Connection string updated
2 parents 5ae119c + 0bc2d1e commit 23c138a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

pandas-charts.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,13 @@
1818
password = os.environ['ORACLE_PASSWORD']
1919
dsn = os.environ['ORACLE_DSN']
2020

21-
engine_cloud = create_engine(f'oracle://{user}:{password}@{dsn}')
21+
engine_cloud = create_engine(f'oracle://:@',
22+
connect_args={
23+
"user": user,
24+
"password": password,
25+
"dsn": dsn
26+
}
27+
)
2228

2329
try:
2430
# Read employees table

0 commit comments

Comments
 (0)