dbt-labs / dbt-codegen

Macros that generate dbt code
https://hub.getdbt.com/dbt-labs/codegen/latest/
Apache License 2.0
459 stars 99 forks source link

`generate_model_yaml` with `upstream_descriptions: true` should also read descriptions from upstream `sources`. #153

Closed esegal closed 6 months ago

esegal commented 8 months ago

Describe the feature

When running generate_model_yaml with upstream_descriptions: true - I expect descriptions would also be read from source nodes, rather than only models.

Describe alternatives you've considered

Additional context

Who will this benefit?

I believe everyone who uses upstream_descriptions and have documented sources will benefit.

Are you interested in contributing this feature?

Yes: https://github.com/dbt-labs/dbt-codegen/pull/154