diff --git a/dbt/adapters/contracts/relation.py b/dbt/adapters/contracts/relation.py index 3028bd0f6..b9836d061 100644 --- a/dbt/adapters/contracts/relation.py +++ b/dbt/adapters/contracts/relation.py @@ -38,7 +38,7 @@ class MaterializationConfig(Mapping, ABC): on_schema_change: Optional[str] on_configuration_change: OnConfigurationChangeOption contract: MaterializationContract - extra: Dict[str, Any] + _extra: Dict[str, Any] def __contains__(self, item): ... @@ -48,6 +48,7 @@ def __delitem__(self, key): class RelationConfig(Protocol): + resource_type: str name: str database: str schema: str @@ -55,6 +56,8 @@ class RelationConfig(Protocol): compiled_code: Optional[str] quoting_dict: Dict[str, bool] config: Optional[MaterializationConfig] + meta: Dict[str, Any] + tags: List[str] class ComponentName(StrEnum):