We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a2ce20 commit 4ad621fCopy full SHA for 4ad621f
sqlmesh/core/model/kind.py
@@ -387,7 +387,6 @@ def model_kind_type_from_name(name: t.Optional[str]) -> t.Type[ModelKind]:
387
388
@field_validator_v1_args
389
def _model_kind_validator(v: t.Any, values: t.Dict[str, t.Any]) -> ModelKind:
390
- values = values if isinstance(values, dict) else values.data
391
dialect = values.get("dialect")
392
393
if isinstance(v, _ModelKind):
0 commit comments