Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: 'DbtOsmosis' #34

Closed
dimitrios-ev opened this issue Dec 9, 2022 · 1 comment
Closed

AttributeError: 'DbtOsmosis' #34

dimitrios-ev opened this issue Dec 9, 2022 · 1 comment

Comments

@dimitrios-ev
Copy link

dimitrios-ev commented Dec 9, 2022

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:

  • dbt version: 1.2.0
  • python version: Python 3.10.7
@z3z1ma
Copy link
Owner

z3z1ma commented Mar 24, 2023

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

@z3z1ma z3z1ma closed this as completed Mar 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants