HI ALL In meltano transformation using DBT I am ge...
# troubleshooting
s
HI ALL In meltano transformation using DBT I am getting this error: cannot import name 'NamedTuple' from 'typing_extensions' Please help me out to resolve the issue
p
@shailesh are you using snowflake? I started to see this at the end of the day yesterday as well, it looks like a problem with the snowflake connector. https://github.com/dbt-labs/dbt-snowflake/issues/215
It looks like they posted a work around for it though
s
Thanks @pat_nadolny
Hi @pat_nadolny Where can I add mentioned packages in meltano
p
@shailesh check out https://docs.meltano.com/guide/plugin-management#pinning-a-plugin-to-a-specific-version for how to pin versions. Heres an example from my project https://github.com/meltano/squared/blob/main/data/extract/extractors.meltano.yml#L47. If youre using a recent installation then your currently pinned version would match https://github.com/meltano/hub/blob/44405ce4e3ccc3b3d8630673fc210f058bb5da7a/_data/meltano/transformers/dbt-snowflake/dbt-labs.yml#L7 i.e.
pip_url: dbt-core~=1.1.0 dbt-snowflake~=1.1.0
s
p
Nope thats a sub dependency so you can exclude it