diff --git a/dbt/adapters/base/relation.py b/dbt/adapters/base/relation.py index 8fe724ce..7d4888e4 100644 --- a/dbt/adapters/base/relation.py +++ b/dbt/adapters/base/relation.py @@ -18,7 +18,6 @@ from dbt_common.exceptions import CompilationError, DbtRuntimeError from dbt_common.utils import deep_merge, filter_null_values -from dbt.adapters.base import CatalogIntegration from dbt.adapters.contracts.relation import ( ComponentName, HasQuoting, @@ -73,7 +72,6 @@ class BaseRelation(FakeAPIObject, Hashable): # e.g. adding RelationType.View in dbt-postgres requires that you define: # include/postgres/macros/relations/view/replace.sql::postgres__get_replace_view_sql() replaceable_relations: SerializableIterable = field(default_factory=frozenset) - catalog: Optional[CatalogIntegration] = None def _is_exactish_match(self, field: ComponentName, value: str) -> bool: if self.dbt_created and self.quote_policy.get_part(field) is False: diff --git a/dbt/adapters/contracts/connection.py b/dbt/adapters/contracts/connection.py index a40d0672..da9fce85 100644 --- a/dbt/adapters/contracts/connection.py +++ b/dbt/adapters/contracts/connection.py @@ -29,7 +29,6 @@ from mashumaro.jsonschema.annotations import Pattern from typing_extensions import Protocol, Annotated -from dbt.adapters.contracts.catalog import CatalogIntegrations from dbt.adapters.events.types import NewConnectionOpening from dbt.adapters.utils import translate_aliases @@ -229,4 +228,3 @@ class AdapterRequiredConfig(HasCredentials, Protocol): cli_vars: Dict[str, Any] target_path: str log_cache_events: bool - catalog_integrations: Optional[CatalogIntegrations]