Skip to content

Commit

Permalink
Fix that import.
Browse files Browse the repository at this point in the history
  • Loading branch information
VersusFacit committed Feb 27, 2024
1 parent 9a8f05e commit 8125ef9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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@ADAP-108/fix_renamed_relations_for_1.8",
"dbt-common @ git+https://github.com/dbt-labs/dbt-common.git",
]

Expand Down Expand Up @@ -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@ADAP-108/fix_renamed_relations_for_1.8",
"dbt-common @ git+https://github.com/dbt-labs/dbt-common.git",
"dbt-core @ git+https://github.com/dbt-labs/dbt-core.git#subdirectory=core",
]
Expand All @@ -100,7 +100,7 @@ all = "python -m pytest {args:tests/unit}"
template = "unit-tests"
extra-dependencies = [
# TODO: remove `dbt-core` dependencies from integration tests
"dbt-adapters @ git+https://github.com/dbt-labs/dbt-adapters.git@ddc5d9de4c20211fefbe150b26711273edec8323",
"dbt-adapters @ git+https://github.com/dbt-labs/dbt-adapters.git@ADAP-108/fix_renamed_relations_for_1.8",
"dbt-common @ git+https://github.com/dbt-labs/dbt-common.git",
"dbt-core @ git+https://github.com/dbt-labs/dbt-core.git#subdirectory=core",
"dbt-tests-adapter @ git+https://github.com/dbt-labs/dbt-adapters.git#subdirectory=dbt-tests-adapter",
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/test_renamed_relations.py
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 8125ef9

Please sign in to comment.