diff --git a/dbt/adapters/contracts/catalog.py b/dbt/adapters/contracts/catalog.py index db27df0fc..31da0420d 100644 --- a/dbt/adapters/contracts/catalog.py +++ b/dbt/adapters/contracts/catalog.py @@ -1,6 +1,6 @@ import abc from enum import Enum -from typing import Optional +from typing import Optional, Tuple, List, Dict from dbt.adapters.protocol import CatalogIntegrationConfig from dbt.adapters.relation_configs.formats import TableFormat @@ -33,4 +33,8 @@ def __init__( self.type = CatalogIntegrationType(integration_config.type) self.external_volume = integration_config.external_volume self.namespace = integration_config.namespace + self._handle_adapter_configs(integration_config.adapter_configs) + + def _handle_adapter_configs(self, adapter_configs: Dict) -> None: + ... diff --git a/dbt/adapters/protocol.py b/dbt/adapters/protocol.py index 7a7932190..ce9917360 100644 --- a/dbt/adapters/protocol.py +++ b/dbt/adapters/protocol.py @@ -47,11 +47,12 @@ class CatalogIntegrationProtocol(Protocol): class CatalogIntegrationConfig(Protocol): - name: str + integration_name: str table_format: str - type: str + catalog_type: str external_volume: Optional[str] namespace: Optional[str] + adapter_configs: Optional[Dict] Self = TypeVar("Self", bound="RelationProtocol")