Skip to content

[CT-2392] [Feature] return models in dbt ls by patch path #7315

@dave-connors-3

Description

@dave-connors-3

Is this your first time submitting a feature request?

  • I have read the expectations for open source contributors
  • I have searched the existing issues, and I could not find an existing issue for this feature
  • I am requesting a straightforward extension of existing dbt functionality, rather than a Big Idea better suited to a discussion

Describe the feature

right now, running dbt ls -s path/to/_resource.yml, you get only resources defined in that yml file, which are only tests, exposures, sources, and metrics (yml only resources)

I would like to be able to see the full lineage of any resource related to that file. Specifically, if the _resource.yml file in question contains model blocks, I'd like to see those resources as well!

This would unblock full lineage in the dbt Cloud IDE (i.e. you should be able to see lineage when viewing yml_with_only_model_blocks.yml

Describe alternatives you've considered

go to the beach, call it a day

Who will this benefit?

dbt Cloud IDE users

Are you interested in contributing this feature?

yeah buddy

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp_wantedTrickier changes, with a clear starting point, good for previous/experienced contributorspaper_cutA small change that impacts lots of users in their day-to-day

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions