Skip to content

Commit

Permalink
remove auth as does not work with http
Browse files Browse the repository at this point in the history
  • Loading branch information
tekkisse committed Jun 26, 2024
1 parent 0040bc8 commit 2baf179
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dags/modules/databases/trinohelper.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def get_trino_engine(trino_conn_details: dict) -> sqlalchemy.engine.Engine:
engine = create_engine(
f"trino://{username}:{password}@{host}:{port}/{database}",
connect_args={
"auth": BasicAuthentication(username, password),
# "auth": BasicAuthentication(username, password),
"http_scheme": connect_protocol,
# TODO This needs to be set to true when deploying to anything thats not dev
"verify": False
Expand Down

0 comments on commit 2baf179

Please sign in to comment.