From d2dd2789c08f747aac58d4c1acd457ca28b55a66 Mon Sep 17 00:00:00 2001 From: VersusFacit <67295367+VersusFacit@users.noreply.github.com> Date: Mon, 28 Oct 2024 11:14:46 -0700 Subject: [PATCH] Change field name. --- dbt/adapters/base/impl.py | 2 +- dbt/adapters/base/relation.py | 2 +- tests/unit/test_adapter_telemetry.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dbt/adapters/base/impl.py b/dbt/adapters/base/impl.py index d2d1c30a..593b0f2b 100644 --- a/dbt/adapters/base/impl.py +++ b/dbt/adapters/base/impl.py @@ -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 diff --git a/dbt/adapters/base/relation.py b/dbt/adapters/base/relation.py index 579871d2..7d4888e4 100644 --- a/dbt/adapters/base/relation.py +++ b/dbt/adapters/base/relation.py @@ -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 diff --git a/tests/unit/test_adapter_telemetry.py b/tests/unit/test_adapter_telemetry.py index 8770cb63..1d5c4911 100644 --- a/tests/unit/test_adapter_telemetry.py +++ b/tests/unit/test_adapter_telemetry.py @@ -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