This repository was archived by the owner on May 17, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +0
-24
lines changed
Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Original file line number Diff line number Diff line change @@ -42,30 +42,6 @@ def import_dbt_parsers():
4242from .utils import run_as_daemon , truncate_error
4343from . 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
7046class DiffVars :
7147 dev_path : List [str ]
You can’t perform that action at this time.
0 commit comments