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

Begin using Mergeable supplied by dbt-common #9509

Merged
merged 2 commits into from
Feb 2, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changes/unreleased/Under the Hood-20240201-125416.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: Under the Hood
body: Start using `Mergeable` from dbt-common
time: 2024-02-01T12:54:16.462414-08:00
custom:
Author: QMalcolm
Issue: "9505"
6 changes: 2 additions & 4 deletions core/dbt/contracts/graph/unparsed.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
AdditionalPropertiesAllowed,
AdditionalPropertiesMixin,
)
from dbt_common.contracts.util import Mergeable
from dbt_common.exceptions import DbtInternalError, CompilationError
from dbt_common.dataclass_schema import (
dbtClassMixin,
Expand All @@ -22,10 +23,7 @@
MaturityType,
MeasureAggregationParameters,
)
from dbt.contracts.util import (
Mergeable,
Replaceable,
)
from dbt.contracts.util import Replaceable

# trigger the PathEncoder
import dbt_common.helper_types # noqa:F401
Expand Down
3 changes: 2 additions & 1 deletion core/dbt/contracts/project.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
from dbt import deprecations
from dbt.contracts.util import Replaceable, Mergeable, list_str, Identifier
from dbt.contracts.util import Replaceable, list_str, Identifier
from dbt.adapters.contracts.connection import QueryComment
from dbt_common.helper_types import NoValue
from dbt_common.contracts.util import Mergeable
from dbt_common.dataclass_schema import (
dbtClassMixin,
ValidationError,
Expand Down
Loading