Skip to content

Commit

Permalink
Change field name.
Browse files Browse the repository at this point in the history
  • Loading branch information
VersusFacit committed Oct 28, 2024
1 parent 05488cc commit d2dd278
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dbt/adapters/base/impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -1760,7 +1760,7 @@ def get_adapter_run_info(cls, config: RelationConfig) -> AdapterTrackingRelation
adapter_name=adapter_name,
base_adapter_version=import_module("dbt.adapters.__about__").version,
adapter_version=adapter_version,
adapter_details=cls._get_adapter_specific_run_info(config),
model_adapter_details=cls._get_adapter_specific_run_info(config),
)

@classmethod
Expand Down
2 changes: 1 addition & 1 deletion dbt/adapters/base/relation.py
Original file line number Diff line number Diff line change
Expand Up @@ -549,4 +549,4 @@ class AdapterTrackingRelationInfo(FakeAPIObject, Hashable):
adapter_name: str
base_adapter_version: str
adapter_version: str
adapter_details: Any
model_adapter_details: Any
2 changes: 1 addition & 1 deletion tests/unit/test_adapter_telemetry.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ def test_telemetry_returns():
assert res.adapter_name == "base"
assert res.base_adapter_version == dbt.adapters.__about__.version
assert res.adapter_version == ""
assert res.adapter_details == {}
assert res.model_adapter_details == {}

assert type(res) is AdapterTrackingRelationInfo

0 comments on commit d2dd278

Please sign in to comment.