Skip to content

Commit

Permalink
Minor: fix lineage & queries in dbt (#17999)
Browse files Browse the repository at this point in the history
  • Loading branch information
SumanMaharana authored Sep 26, 2024
1 parent 9b45573 commit d2bce8a
Showing 1 changed file with 15 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -189,12 +189,25 @@ def remove_manifest_non_required_keys(self, manifest_dict: dict):
"description",
"columns",
"meta",
"owner",
"created_at",
"group",
"sources",
"compiled",
"docs",
"version",
"latest_version",
"package_name",
"depends_on",
"compiled_code",
"compiled_sql",
"raw_code",
"raw_sql",
}

for node, value in manifest_dict.get(
for node, value in manifest_dict.get( # pylint: disable=unused-variable
"nodes"
).items(): # pylint: disable=unused_variable
).items():
keys_to_delete = [
key for key in value if key.lower() not in required_nodes_keys
]
Expand Down

0 comments on commit d2bce8a

Please sign in to comment.