Skip to content

Commit

Permalink
pass lint [skip-ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
benc-db committed Jun 4, 2024
1 parent 09a1f67 commit 9dcf18a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion dbt/adapters/databricks/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

class token_auth(CredentialsProvider):
_token: str
_host: str

def __init__(self, token: str) -> None:
self._token = token
Expand Down
3 changes: 1 addition & 2 deletions dbt/adapters/databricks/connections.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@
from dbt.adapters.databricks.events.pipeline_events import PipelineRefresh
from dbt.adapters.databricks.events.pipeline_events import PipelineRefreshError
from dbt.adapters.databricks.logging import logger
from dbt.adapters.databricks.python_submissions import BaseDatabricksHelper
from dbt.adapters.databricks.python_submissions import PythonRunTracker
from dbt.adapters.databricks.utils import redact_credentials
from dbt.adapters.events.types import ConnectionClosedInCleanup
Expand Down Expand Up @@ -484,7 +483,7 @@ def cancel_open(self) -> List[str]:
logger.info("Cancelling open python jobs")
tracker = PythonRunTracker()
session = Session()
creds = self.credentials_provider(None)
creds = self.credentials_provider(None) # type: ignore
session.auth = BearerAuth(creds)
session.headers = {"User-Agent": self._user_agent}
tracker.cancel_runs(session)
Expand Down

0 comments on commit 9dcf18a

Please sign in to comment.