Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
ChenyuLInx committed Nov 7, 2023
1 parent 6c1822f commit 5f4d9c5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
7 changes: 5 additions & 2 deletions core/dbt/task/deps.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,13 @@ def _create_packages_yml_entry(package: str, version: Optional[str], source: str
if source == "hub":
package_key = "package"

packages_yml_entry = {package_key: package}

Check warning on line 78 in core/dbt/task/deps.py

View check run for this annotation

Codecov / codecov/patch

core/dbt/task/deps.py#L78

Added line #L78 was not covered by tests

if source == "git":
version_key = "revision"

packages_yml_entry = {package_key: package}
if not package.endswith(".git"):
packages_yml_entry[package_key] = "/".join(package.split("/")[:-1])
packages_yml_entry["subdirectory"] = package.split("/")[-1]

Check warning on line 84 in core/dbt/task/deps.py

View check run for this annotation

Codecov / codecov/patch

core/dbt/task/deps.py#L82-L84

Added lines #L82 - L84 were not covered by tests

if version:
if "," in version:
Expand Down
1 change: 1 addition & 0 deletions core/dbt/task/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ def print_start_line(self):
)

def print_result_line(self, result):
raise NotImplementedError("print_result_line not implemented")

Check warning on line 201 in core/dbt/task/run.py

View check run for this annotation

Codecov / codecov/patch

core/dbt/task/run.py#L201

Added line #L201 was not covered by tests
description = self.describe_node()
if result.status == NodeStatus.Error:
status = result.status
Expand Down
Empty file added core/dbt/task/runners.py
Empty file.

0 comments on commit 5f4d9c5

Please sign in to comment.