Timothee Vandeput
07/10/2023, 7:10 PMTimothee Vandeput
07/10/2023, 7:51 PMclass CustomDbtManifest(DbtManifest):
@property
def node_info_by_output_name(self) -> Mapping[str, Mapping[str, Any]]:
"""A mapping of the default output name for a dbt node to the node's dictionary representation in the manifest.
"""
return {node["unique_id"].split(".")[-1]: node for node in self.node_info_by_dbt_unique_id.values() if node['resource_type'] != 'source'}
Dbt sources shouldn't generate any output anyway so it shoudn't be an issue.rex
07/10/2023, 7:58 PMTimothee Vandeput
07/10/2023, 9:05 PMrex
07/11/2023, 5:17 PM