def test_missing_required_field(self):
        """Test that missing a required field raises a ValidationError."""
        with self.assertRaises(ValidationError) as context:
            ModelConfig(
                model_properties={"property1": "value1"},
                normalize_embeddings=True
            )
        self.assertIn("modelName", str(context.exception))
        self.assertIn("field required (type=value_error.missing)", str(context.exception))
Test that missing a required field raises a ValidationError.
tests/unit_tests/marqo/core/inference/api/test_inference_model_classes.py