Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

Commit 33e52bd

Browse files
committed
finalize merge
1 parent 5db828c commit 33e52bd

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

data_diff/dbt.py

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -42,30 +42,6 @@ def import_dbt_parsers():
4242
from .utils import run_as_daemon, truncate_error
4343
from . import connect_to_table, diff_tables, Algorithm
4444

45-
RUN_RESULTS_PATH = "target/run_results.json"
46-
MANIFEST_PATH = "target/manifest.json"
47-
PROJECT_FILE = "dbt_project.yml"
48-
PROFILES_FILE = "profiles.yml"
49-
LOWER_DBT_V = "1.0.0"
50-
UPPER_DBT_V = "1.6.0"
51-
52-
53-
# https://github.com/dbt-labs/dbt-core/blob/c952d44ec5c2506995fbad75320acbae49125d3d/core/dbt/cli/resolvers.py#L6
54-
def default_project_dir() -> Path:
55-
paths = list(Path.cwd().parents)
56-
paths.insert(0, Path.cwd())
57-
return next((x for x in paths if (x / PROJECT_FILE).exists()), Path.cwd())
58-
59-
60-
# https://github.com/dbt-labs/dbt-core/blob/c952d44ec5c2506995fbad75320acbae49125d3d/core/dbt/cli/resolvers.py#L12
61-
def default_profiles_dir() -> Path:
62-
return Path.cwd() if (Path.cwd() / PROFILES_FILE).exists() else Path.home() / ".dbt"
63-
64-
65-
def legacy_profiles_dir() -> Path:
66-
return Path.home() / ".dbt"
67-
68-
6945
@dataclass
7046
class DiffVars:
7147
dev_path: List[str]

0 commit comments

Comments
 (0)