diff --git a/dbt/adapters/databricks/relation.py b/dbt/adapters/databricks/relation.py index c9b349e5..4df8338e 100644 --- a/dbt/adapters/databricks/relation.py +++ b/dbt/adapters/databricks/relation.py @@ -1,6 +1,6 @@ from collections.abc import Iterable from dataclasses import dataclass, field -from typing import Any, Optional +from typing import Any, Optional, Type from dbt_common.dataclass_schema import StrEnum from dbt_common.exceptions import DbtRuntimeError @@ -131,7 +131,7 @@ def matches( return match @classproperty - def get_relation_type(cls) -> type[DatabricksRelationType]: # type: ignore + def get_relation_type(cls) -> Type[DatabricksRelationType]: # noqa return DatabricksRelationType def information_schema(self, view_name: Optional[str] = None) -> InformationSchema: