Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "description" and "meta" fields to RelationConfig protocol #119

Merged
merged 7 commits into from
Mar 25, 2024
6 changes: 6 additions & 0 deletions .changes/unreleased/Fixes-20240229-163014.yaml
Original file line number Diff line number Diff line change
@@ -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"
4 changes: 4 additions & 0 deletions dbt/adapters/contracts/relation.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,15 @@ def __delitem__(self, key):


class RelationConfig(Protocol):
resource_type: str
colin-rogers-dbt marked this conversation as resolved.
Show resolved Hide resolved
name: str
description: str
colin-rogers-dbt marked this conversation as resolved.
Show resolved Hide resolved
database: str
schema: str
identifier: str
compiled_code: Optional[str]
meta: Dict[str, Any]
tags: List[str]
colin-rogers-dbt marked this conversation as resolved.
Show resolved Hide resolved
quoting_dict: Dict[str, bool]
config: Optional[MaterializationConfig]

Expand Down
Loading