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

AttributeError: 'DbtOsmosis' #34

Closed dimitrios-ev closed 1 year ago

dimitrios-ev commented 1 year ago

When a user runs dbt-osmosis diff -m some_model ... they are getting AttributeError: 'DbtOsmosis':

dbt-osmosis diff -m some_model --project-dir /path/to/dbt/transformations --profiles-dir /path/to/dbt/transformations/profiles --target target0

INFO     🌊 Executing dbt-osmosis

INFO     Injecting macros, please wait...                                                                                                                                                         
Traceback (most recent call last):
  File "/Users/myuser/.pyenv/versions/3.10.7/bin/dbt-osmosis", line 8, in <module>
    sys.exit(cli())
.....
AttributeError: 'DbtOsmosis' object has no attribute '_get_exec_node'. Did you mean: 'get_ref_node'?

Note

Please note that no error when running the dbt-osmosis workbench - that one runs nicely.

Configuration:

z3z1ma commented 1 year ago

This issue is no longer present, though diff commands are undergoing rework!