def test_required_fields(self):
        """Test that all required fields must be provided."""
        hybrid_parameters = HybridParameters()
        
        base_params = {
            "index_name": "test_index",
            "limit": 10,
            "or_phrases": ["phrase1"],
            "and_phrases": ["phrase2"],
            "hybrid_parameters": hybrid_parameters
        }
        
        required_fields = [
            "index_name", "limit", "or_phrases", "and_phrases",
            "hybrid_parameters"
        ]
        
        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:
                    MarqoHybridQuery(**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