You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tl;dr: Starting with dbt-core v1.8, adapters should no longer import dbt-core directly, but instead import a set of common interfaces defined in dbt-common + dbt-adapters.
I wanted to give this one a try :)
It's mostly a matter of switching import statements. I found two utility classes — SourceConfig and TargetConfig — which depend on type definitions (RuntimeConfigObject, SourceDefinition) that are not included in our common/adapter interface. I'll open a draft PR so we can take a look together & discuss.
The text was updated successfully, but these errors were encountered:
Discussion:
tl;dr: Starting with dbt-core v1.8, adapters should no longer import
dbt-core
directly, but instead import a set of common interfaces defined indbt-common
+dbt-adapters
.I wanted to give this one a try :)
It's mostly a matter of switching
import
statements. I found two utility classes —SourceConfig
andTargetConfig
— which depend on type definitions (RuntimeConfigObject
,SourceDefinition
) that are not included in our common/adapter interface. I'll open a draft PR so we can take a look together & discuss.The text was updated successfully, but these errors were encountered: