Skip to content

Commit

Permalink
fix precommit messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Pablo Takara committed Mar 3, 2023
1 parent 9c92f29 commit 3d77853
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/unit/sqlalchemy/test_dialect.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ def test_trino_connection_certificate_auth():

def test_trino_connection_oauth2_auth():
dialect = TrinoDialect()
url = make_url(f'trino://host/?externalAuthentication=true')
url = make_url('trino://host/?externalAuthentication=true')
_, cparams = dialect.create_connect_args(url)

assert cparams['http_scheme'] == "https"
Expand Down
7 changes: 6 additions & 1 deletion trino/sqlalchemy/dialect.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,12 @@

from trino import dbapi as trino_dbapi
from trino import logging
from trino.auth import BasicAuthentication, CertificateAuthentication, JWTAuthentication, OAuth2Authentication
from trino.auth import (
BasicAuthentication,
CertificateAuthentication,
JWTAuthentication,
OAuth2Authentication,
)
from trino.dbapi import Cursor
from trino.sqlalchemy import compiler, datatype, error

Expand Down

0 comments on commit 3d77853

Please sign in to comment.