Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove project_dependencies from manifest
  • Loading branch information
gshank committed Jun 9, 2023
commit 31aa6b6c0948d39c6a11a1a109506fdaf7d3c6bd
1 change: 0 additions & 1 deletion core/dbt/contracts/graph/manifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -708,7 +708,6 @@ class Manifest(MacroMethods, DataClassMessagePackMixin, dbtClassMixin):
disabled: MutableMapping[str, List[GraphMemberNode]] = field(default_factory=dict)
env_vars: MutableMapping[str, str] = field(default_factory=dict)
public_nodes: MutableMapping[str, PublicModel] = field(default_factory=dict)
project_dependencies: Optional[ProjectDependencies] = None
publications: MutableMapping[str, PublicationConfig] = field(default_factory=dict)
semantic_nodes: MutableMapping[str, SemanticModel] = field(default_factory=dict)

Expand Down
4 changes: 2 additions & 2 deletions tests/functional/partial_parsing/test_partial_parsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -826,12 +826,12 @@ def test_dependencies(self, project, marketing_publication):
# initial run with dependencies
write_file(dependencies_yml, "dependencies.yml")
manifest = run_dbt(["parse"], publications=[marketing_publication])
assert len(manifest.project_dependencies.projects) == 1
assert len(manifest.publications) == 1

# remove dependencies
write_file(empty_dependencies_yml, "dependencies.yml")
manifest = run_dbt(["parse"], publications=[marketing_publication])
assert len(manifest.project_dependencies.projects) == 0
assert len(manifest.publications) == 0


class TestPublicationArtifactAvailable:
Expand Down