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

move cache exceptions to dbt/adapters #9361

Merged
merged 3 commits into from
Jan 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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-20240110-161723.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: Under the Hood
body: move cache exceptions to dbt/adapters
time: 2024-01-10T16:17:23.845087-05:00
custom:
Author: michelleark
Issue: "9362"
2 changes: 1 addition & 1 deletion core/dbt/adapters/cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
_make_ref_key_dict,
_ReferenceKey,
)
from dbt.common.exceptions.cache import (
from dbt.adapters.exceptions.cache import (
NewNameAlreadyInCacheError,
ReferencedLinkNotCachedError,
DependentLinkNotCachedError,
Expand Down
1 change: 1 addition & 0 deletions core/dbt/adapters/exceptions/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
from dbt.adapters.exceptions.alias import * # noqa
from dbt.adapters.exceptions.database import * # noqa
from dbt.adapters.exceptions.connection import * # noqa
from dbt.adapters.exceptions.cache import * # noqa
2 changes: 1 addition & 1 deletion core/dbt/context/exceptions_jinja.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
scrub_secrets,
env_secrets,
)
from dbt.common.exceptions.cache import CacheInconsistencyError
from dbt.adapters.exceptions.cache import CacheInconsistencyError


def warn(msg, node=None):
Expand Down