Skip to content

Commit 6378530

Browse files
committed
remove dead code
1 parent 3380756 commit 6378530

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

sqlmesh/core/model/meta.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -161,14 +161,6 @@ def _normalize(value: t.Any) -> t.Any:
161161

162162
return v
163163

164-
@classmethod
165-
def _validate_str_enum_value(cls, v: t.Any) -> t.Any:
166-
if isinstance(v, exp.Identifier):
167-
return v.this
168-
if isinstance(v, exp.Literal) and v.is_string:
169-
return v.this
170-
return v
171-
172164
@field_validator("table_format", "storage_format", mode="before")
173165
def _format_validator(cls, v: t.Any, info: ValidationInfo) -> t.Optional[str]:
174166
if isinstance(v, exp.Expression) and not (isinstance(v, (exp.Literal, exp.Identifier))):

0 commit comments

Comments
 (0)