Skip to content

Commit

Permalink
move to from generic utils to dbt.project module
Browse files Browse the repository at this point in the history
  • Loading branch information
jbandoro committed Nov 10, 2023
1 parent 673a977 commit cc02e2c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cosmos/dbt/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
)
from cosmos.dbt.executable import get_system_dbt
from cosmos.dbt.parser.project import LegacyDbtProject
from cosmos.dbt.project import create_symlinks
from cosmos.dbt.selector import select_nodes
from cosmos.log import get_logger
from cosmos.utils import create_symlinks

logger = get_logger(__name__)

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion cosmos/operators/local.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
FullOutputSubprocessResult,
)
from cosmos.dbt.parser.output import extract_log_issues, parse_output
from cosmos.utils import create_symlinks
from cosmos.dbt.project import create_symlinks

DBT_NO_TESTS_MSG = "Nothing to do"
DBT_WARN_MSG = "WARN"
Expand Down
4 changes: 2 additions & 2 deletions tests/test_utils.py → tests/dbt/test_project.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from pathlib import Path
from cosmos.utils import create_symlinks
from cosmos.dbt.project import create_symlinks

DBT_PROJECTS_ROOT_DIR = Path(__file__).parent.parent / "dev/dags/dbt"
DBT_PROJECTS_ROOT_DIR = Path(__file__).parent.parent.parent / "dev/dags/dbt"


def test_create_symlinks(tmp_path):
Expand Down

0 comments on commit cc02e2c

Please sign in to comment.