We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3380756 commit 6378530Copy full SHA for 6378530
sqlmesh/core/model/meta.py
@@ -161,14 +161,6 @@ def _normalize(value: t.Any) -> t.Any:
161
162
return v
163
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
170
- return v
171
-
172
@field_validator("table_format", "storage_format", mode="before")
173
def _format_validator(cls, v: t.Any, info: ValidationInfo) -> t.Optional[str]:
174
if isinstance(v, exp.Expression) and not (isinstance(v, (exp.Literal, exp.Identifier))):
0 commit comments