Describe the bug
VSCode flags the below lines with this error:
Import "dbt.adapters.databricks.connections" could not be resolved
|
from dbt.adapters.databricks.connections import DatabricksConnectionManager # noqa |
|
from dbt.adapters.databricks.connections import DatabricksCredentials |
|
from dbt.adapters.databricks.relation import DatabricksRelation # noqa |
|
from dbt.adapters.databricks.column import DatabricksColumn # noqa |
|
from dbt.adapters.databricks.impl import DatabricksAdapter |
Steps To Reproduce
- open vscode
- create virtual environment and tell VSCode about it
- Install dbt-databricks in development mode within VSCode
- open any python file
Expected behavior
The import should work as expected
Screenshots and log output

System information
Using main branch
Additional context
Based on dbt-labs/dbt-core#4089 and dbt-labs/dbt-redshift#117, perhaps pkgutil's extend_path may be of use?
Describe the bug
VSCode flags the below lines with this error:
dbt-databricks/dbt/adapters/databricks/__init__.py
Lines 1 to 5 in 3609a6e
Steps To Reproduce
Expected behavior
The import should work as expected
Screenshots and log output
System information
Using main branch
Additional context
Based on dbt-labs/dbt-core#4089 and dbt-labs/dbt-redshift#117, perhaps
pkgutil'sextend_pathmay be of use?