diff --git a/.changes/unreleased/Fixes-20240229-163014.yaml b/.changes/unreleased/Fixes-20240229-163014.yaml new file mode 100644 index 000000000..07918b19c --- /dev/null +++ b/.changes/unreleased/Fixes-20240229-163014.yaml @@ -0,0 +1,6 @@ +kind: Fixes +body: Add "description" and "meta" fields to RelationConfig protocol +time: 2024-02-29T16:30:14.833301-08:00 +custom: + Author: colin-rogers-dbt + Issue: "119" diff --git a/dbt/adapters/contracts/relation.py b/dbt/adapters/contracts/relation.py index 3028bd0f6..6a88d0744 100644 --- a/dbt/adapters/contracts/relation.py +++ b/dbt/adapters/contracts/relation.py @@ -48,11 +48,15 @@ def __delitem__(self, key): class RelationConfig(Protocol): + resource_type: str name: str + description: str database: str schema: str identifier: str compiled_code: Optional[str] + meta: Dict[str, Any] + tags: List[str] quoting_dict: Dict[str, bool] config: Optional[MaterializationConfig]