Skip to content

Commit

Permalink
Update SemanticManifestNodeType for compatibility with older python v…
Browse files Browse the repository at this point in the history
…ersions
  • Loading branch information
theyostalservice committed Nov 1, 2024
1 parent 80f352f commit 40bd63c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dbt_semantic_interfaces/validations/where_filters.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import traceback
from enum import StrEnum, auto
from enum import Enum
from typing import Generic, List, Sequence, Tuple

from dbt_semantic_interfaces.call_parameter_sets import FilterCallParameterSets
Expand All @@ -21,11 +21,11 @@
)


class SemanticManifestNodeType(StrEnum):
class SemanticManifestNodeType(Enum):
"""Types of objects to validate (used for validation messages)."""

SAVED_QUERY = auto()
METRIC = auto()
SAVED_QUERY = "saved query"
METRIC = "metric"


class WhereFiltersAreParseable(SemanticManifestValidationRule[SemanticManifestT], Generic[SemanticManifestT]):
Expand Down

0 comments on commit 40bd63c

Please sign in to comment.