def test_required_fields(self):
        """Test that all required fields must be provided."""
        base_params = {
            "index_name": "test_index",
            "limit": 10,
            "vector_query": [0.1, 0.2, 0.3]
        }
        
        required_fields = ["index_name", "limit", "vector_query"]
        
        for required_field in required_fields:
            with self.subTest(missing_field=required_field):
                params = base_params.copy()
                del params[required_field]
                
                with self.assertRaises(ValidationError) as context:
                    MarqoTensorQuery(**params)
                
                self.assertIn(required_field, str(context.exception))
Test that all required fields must be provided.
tests/unit_tests/marqo/core/models/test_marqo_query.py