Closed ReubenFrankel closed 5 months ago
Thanks @ReubenFrankel for finding it!
I can reproduce it now with v1.12 -- will fix it soon 🏃
For the v1.11, I think I have not fully tested it when it stands alone, but it should be working with installing dbt-core -- so a workaround here:
pip install dbt-core
pip install dbterd=1.11.1
I will tackle this together and provide patches for all impacted version soon 🏃
Is there a reason that dbt-core
is not a defined dependency?
Hey @ReubenFrankel yes, dbterd is originally designed to understand dbt artifact files and produce the ERD code. It doesn’t call any APIs from dbt package, it hence should not depend on dbt pip package.
@datnguye Ah, I see you were suggesting it as a workaround. What about requests
as in above example? I don't use dbt Cloud so that functionality isn't required, though I'm wondering if it makes more sense as a package extra for those that do.
@ReubenFrankel yeah I will add an extra deps with ‘requests’ for sure, and I need to fully verify all python versions to understand the case.
It should be fixed in 1.12.2 now 🙌
Sorry for any inconveniences with this issues!
Describe the bug I get the following error invoking the
dbterd
CLI:To Reproduce Steps to reproduce the behavior:
Expected behavior To be able to use the CLI.
Desktop
1.12.0
Additional context I also tried
1.11.0
After installing
requests
manually