z3z1ma / dbt-osmosis

Provides automated YAML management, a dbt server, streamlit workbench, and git-integrated dbt model output diff tools
https://z3z1ma.github.io/dbt-osmosis/
Apache License 2.0
422 stars 45 forks source link

dbt-osmosis refactor not working with models that are dependant on seeds #56

Closed navedgaras closed 1 year ago

navedgaras commented 1 year ago

Hello,

so as stated in the issue title, I am having issues when doing .yaml refactoring for dbt models that reference dbt Seeds. The error I am receiving: Error occurred while processing model model.test_project.test_model: 'SeedNode' object has no attribute 'depends_on'

dbt version: 1.4.4

Installed packages:

Let me know if there's anything I can help you with and keep up the good work! Thanks.

z3z1ma commented 1 year ago

Thanks for the report @edgga ! 🔥

Fixed in last patch release: dbt-osmosis==0.11.17 we will now do a safety check to ensure the attribute exists as we are building the knowledge graph.