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

[xy] Lazy import dbt block and library #3608

Merged
merged 2 commits into from
Sep 27, 2023

Conversation

wangxiaoyou1993
Copy link
Member

@wangxiaoyou1993 wangxiaoyou1993 commented Sep 27, 2023

Description

FIx a bug in 0.9.28. ModuleNotFoundError: No module named 'dbt.flags'
This PR updates it to lazy import dbt block and library

How Has This Been Tested?

  • Tested install Mage via pip locally. The Mage page can be successfully loaded. The pipelines can be executed. Only the dbt pipelines can't show without dbt packages.

Checklist

  • The PR is tagged with proper labels (bug, enhancement, feature, documentation)
  • I have performed a self-review of my own code

cc:

@wangxiaoyou1993 wangxiaoyou1993 added the bug Something isn't working label Sep 27, 2023
@wangxiaoyou1993 wangxiaoyou1993 merged commit daf2010 into master Sep 27, 2023
11 checks passed
@wangxiaoyou1993 wangxiaoyou1993 deleted the xiaoyou/lazy-import-dbt-block branch September 27, 2023 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant