Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

Commit 9acbf6a

Browse files
authored
Merge pull request #742 from pppsunil/presto-basic-auth
Fix: Presto Basic authentication error
2 parents 57b889d + 510c074 commit 9acbf6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data_diff/databases/presto.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ def __init__(self, **kw):
175175
self.default_schema = kw.get("schema")
176176

177177
if kw.get("auth") == "basic": # if auth=basic, add basic authenticator for Presto
178-
kw["auth"] = prestodb.auth.BasicAuthentication(kw.pop("user"), kw.pop("password"))
178+
kw["auth"] = prestodb.auth.BasicAuthentication(kw["user"], kw.pop("password"))
179179

180180
if "cert" in kw: # if a certificate was specified in URI, verify session with cert
181181
cert = kw.pop("cert")

0 commit comments

Comments
 (0)