def test_search_query_required_parameters_only(self):
        """Test SearchQuery with only required parameters."""
        # For tensor search, either q or context is required
        search_query = SearchQuery(
            q="test query",
            searchMethod=SearchMethod.TENSOR
        )
        
        # Verify defaults
        self.assertEqual(search_query.searchMethod, SearchMethod.TENSOR)
        self.assertEqual(search_query.limit, 10)
        self.assertEqual(search_query.offset, 0)
        self.assertTrue(search_query.showHighlights)
        self.assertIsNone(search_query.hybridParameters)
Test SearchQuery with only required parameters.
tests/unit_tests/marqo/tensor_search/test_api_models.py