Skip to content

Commit

Permalink
fix import for version based on our structure conventions for adapters
Browse files Browse the repository at this point in the history
  • Loading branch information
VersusFacit committed Oct 23, 2024
1 parent b7cd418 commit 859eef1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbt/adapters/base/impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -1754,7 +1754,7 @@ def get_adapter_run_info(cls, config: RelationConfig) -> AdapterTrackingRelation
if adapter_class_name == "Base":
adapter_version = ""
else:
adapter_version = import_module(f"dbt.adapters.dbt_{adapter_name}.__version__").version
adapter_version = import_module(f"dbt.adapters.{adapter_name}.__version__").version

return AdapterTrackingRelationInfo(
adapter_name=adapter_name,
Expand Down

0 comments on commit 859eef1

Please sign in to comment.