From 60316b240259a7db65706182dd3dca12381e92b4 Mon Sep 17 00:00:00 2001 From: Devon Fulcher <24593113+DevonFulcher@users.noreply.github.com> Date: Thu, 24 Oct 2024 14:18:01 -0500 Subject: [PATCH] Fix renaming class --- dbt_semantic_interfaces/protocols/metric.py | 4 ++-- dbt_semantic_interfaces/protocols/semantic_model.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dbt_semantic_interfaces/protocols/metric.py b/dbt_semantic_interfaces/protocols/metric.py index b5a3f4d5..8ed98704 100644 --- a/dbt_semantic_interfaces/protocols/metric.py +++ b/dbt_semantic_interfaces/protocols/metric.py @@ -3,7 +3,7 @@ from abc import abstractmethod from typing import Optional, Protocol, Sequence -from dbt_semantic_interfaces.protocols.meta import ConfigMeta +from dbt_semantic_interfaces.protocols.meta import PydanticSemanticLayerElementConfig from dbt_semantic_interfaces.protocols.metadata import Metadata from dbt_semantic_interfaces.protocols.where_filter import WhereFilterIntersection from dbt_semantic_interfaces.references import MeasureReference, MetricReference @@ -308,7 +308,7 @@ def metadata(self) -> Optional[Metadata]: # noqa: D @property @abstractmethod - def config(self) -> Optional[ConfigMeta]: # noqa: D + def config(self) -> Optional[PydanticSemanticLayerElementConfig]: # noqa: D pass @property diff --git a/dbt_semantic_interfaces/protocols/semantic_model.py b/dbt_semantic_interfaces/protocols/semantic_model.py index 605eabd7..f8c390d8 100644 --- a/dbt_semantic_interfaces/protocols/semantic_model.py +++ b/dbt_semantic_interfaces/protocols/semantic_model.py @@ -6,7 +6,7 @@ from dbt_semantic_interfaces.protocols.dimension import Dimension from dbt_semantic_interfaces.protocols.entity import Entity from dbt_semantic_interfaces.protocols.measure import Measure -from dbt_semantic_interfaces.protocols.meta import ConfigMeta +from dbt_semantic_interfaces.protocols.meta import PydanticSemanticLayerElementConfig from dbt_semantic_interfaces.protocols.metadata import Metadata from dbt_semantic_interfaces.protocols.node_relation import NodeRelation from dbt_semantic_interfaces.references import ( @@ -139,7 +139,7 @@ def metadata(self) -> Optional[Metadata]: # noqa: D @property @abstractmethod - def config(self) -> Optional[ConfigMeta]: # noqa: D + def config(self) -> Optional[PydanticSemanticLayerElementConfig]: # noqa: D pass @abstractmethod