vscode-dbt-power-user icon indicating copy to clipboard operation
vscode-dbt-power-user copied to clipboard

[dbt 1.8] Extension throws No module named 'dbt.events.functions' error

Open anandgupta42 opened this issue 10 months ago • 1 comments

Expected behavior

An error occured while initializing the dbt project: No module named 'dbt.events.functions' dbt configuration is invalid : No module named 'dbt.events.functions'

Actual behavior

The functionalities should work as it does in v1.7

Steps To Reproduce

@svipulrao98 Can you add the instruction to reproduce?

Log output/Screenshots

No response

Operating System

All

dbt version

1.8

dbt Adapter

Snowflake

dbt Power User version

0.37.0

Are you willing to submit PR?

  • [ ] Yes I am willing to submit a PR!

anandgupta42 avatar Mar 26 '24 18:03 anandgupta42

Check https://github.com/dbt-labs/dbt-core/commit/77632122974b28967221758b4a470d7dfb608ac2#diff-0c3baf68411361db479b28a850e82caeac2b7a4b00a718ff882719d061127cb3R13

method seems to have moved to dbt.common.events

anandgupta42 avatar Mar 26 '24 19:03 anandgupta42

fixed in 0.39.5

anandgupta42 avatar May 07 '24 18:05 anandgupta42