-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[CT-2849] [Bug] Giving key error snowflake #8154
Comments
In previous version of dbt first register adapters in task/basy.py file but in dbt 1.5 they dont i beleive this might be the reason, as i did test it locally and it runs fine in dbt 1.5 as well if i register adapters in tasks/base.py first |
Thanks for reaching out @abdulrafey38! The code you mentioned is a private implementation detail (changed in #6565) that we don't intend to be a public interface. Have you given our programmatic invocations entry points a try yet? The intent is to expose the existing dbt CLI via a Python entry point, such that top-level commands are callable from within a Python script or application. |
@dbeatty10 thank you issue resolved 🥳 |
Is this a new bug in dbt-core?
Current Behavior
Throws key error snowflake in adapters, its not registering adapters as it do in previous versions
Expected Behavior
it should run smoothly
Steps To Reproduce
macOS with dbt 1.5
from dbt.config import RuntimeConfig
after importing RuntimeConfig i used this in one of my own package
==>running this (RuntimeConfig.from_args(args)<==) from my own package built on the top of dbt
Relevant log output
No response
Environment
Which database adapter are you using with dbt?
snowflake
Additional Context
The text was updated successfully, but these errors were encountered: