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 new defer_relation argument to mock_model #520

Merged
merged 3 commits into from
Jul 6, 2023
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/Fixes-20230706-001056.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: Fixes
body: Fix regression in redshift-connector==2.0.912
time: 2023-07-06T00:10:56.337407-04:00
custom:
Author: mikealfare
Issue: "518"
6 changes: 6 additions & 0 deletions .changes/unreleased/Fixes-20230706-012233.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: Fixes
body: Fixed unit test that broke following dbt clone work
time: 2023-07-06T01:22:33.840137-04:00
custom:
Author: mikealfare
Issue: "518"
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def _core_version(plugin_version: str = _plugin_version()) -> str:
f"dbt-core~={_core_version()}",
f"dbt-postgres~={_core_version()}",
"boto3~=1.26.26",
"redshift-connector~=2.0.911",
"redshift-connector~=2.0.911,!=2.0.912",
# installed via dbt-core but referenced directly; don't pin to avoid version conflicts with dbt-core
"agate",
],
Expand Down
1 change: 1 addition & 0 deletions tests/unit/test_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ def mock_model():
raw_sql="",
description="",
columns={},
defer_relation=None,
)


Expand Down