From 1f3ff098572feb33bc5a7eb3c786d56cad799bd3 Mon Sep 17 00:00:00 2001 From: Mila Page Date: Mon, 26 Feb 2024 23:01:10 -0800 Subject: [PATCH] Fix that import. --- pyproject.toml | 4 ++-- tests/unit/test_renamed_relations.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index bc39cb8a..0e50b9d1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -51,7 +51,7 @@ path = "dbt/adapters/postgres/__version__.py" [tool.hatch.envs.default] dependencies = [ - "dbt-adapters @ git+https://github.com/dbt-labs/dbt-adapters.git", + "dbt-adapters @ git+https://github.com/dbt-labs/dbt-adapters.git@ddc5d9de4c20211fefbe150b26711273edec8323", "dbt-common @ git+https://github.com/dbt-labs/dbt-common.git", ] @@ -89,7 +89,7 @@ dependencies = [ ] extra-dependencies = [ # TODO: remove `dbt-core` dependencies from unit tests - "dbt-adapters @ git+https://github.com/dbt-labs/dbt-adapters.git", + "dbt-adapters @ git+https://github.com/dbt-labs/dbt-adapters.git@ddc5d9de4c20211fefbe150b26711273edec8323", "dbt-common @ git+https://github.com/dbt-labs/dbt-common.git", "dbt-core @ git+https://github.com/dbt-labs/dbt-core.git#subdirectory=core", ] diff --git a/tests/unit/test_renamed_relations.py b/tests/unit/test_renamed_relations.py index 8389ce05..01876b5b 100644 --- a/tests/unit/test_renamed_relations.py +++ b/tests/unit/test_renamed_relations.py @@ -1,9 +1,9 @@ -from dbt.adapters.redshift.relation import RedshiftRelation +from dbt.adapters.postgres.relation import PostgresRelation from dbt.adapters.contracts.relation import RelationType def test_renameable_relation(): - relation = RedshiftRelation.create( + relation = PostgresRelation.create( database="my_db", schema="my_schema", identifier="my_table",