Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
benc-db committed Nov 10, 2023
1 parent 928163a commit a583a9d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dbt/adapters/databricks/impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ def parse_columns_from_information( # type: ignore[override]
columns.append(column)
return columns

def get_catalog(self, manifest: Manifest) -> Tuple[Table, List[Exception]]:
def get_catalog(self, manifest: Manifest) -> Tuple[Table, List[Exception]]: # type: ignore
schema_map = self._get_catalog_schemas(manifest)

with executor(self.config) as tpe:
Expand Down
4 changes: 2 additions & 2 deletions dbt/adapters/databricks/relation.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from dataclasses import dataclass, field
from typing import Any, Dict, Optional, Set, Type
from typing import Any, Dict, Iterable, Optional, Set, Type
from dbt.contracts.relation import (
ComponentName,
)
Expand Down Expand Up @@ -141,5 +141,5 @@ def is_hive_metastore(database: Optional[str]) -> bool:
return database is None or database.lower() == "hive_metastore"


def extract_identifiers(relations: Set[BaseRelation]) -> Set[str]:
def extract_identifiers(relations: Iterable[BaseRelation]) -> Set[str]:
return {r.identifier for r in relations if r.identifier is not None}

0 comments on commit a583a9d

Please sign in to comment.