Skip to content

Commit

Permalink
remove CatalogIntegration from relation
Browse files Browse the repository at this point in the history
  • Loading branch information
colin-rogers-dbt committed Dec 18, 2024
1 parent 3fc57cf commit c5dd131
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions dbt/adapters/base/relation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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:
Expand Down
2 changes: 0 additions & 2 deletions dbt/adapters/contracts/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -229,4 +228,3 @@ class AdapterRequiredConfig(HasCredentials, Protocol):
cli_vars: Dict[str, Any]
target_path: str
log_cache_events: bool
catalog_integrations: Optional[CatalogIntegrations]

0 comments on commit c5dd131

Please sign in to comment.