def test_marqo_base_documents_response_dictExcludesCustomFields(self):
        """A test to verify that custom fields are excluded from the response."""
        class CustomResponse(MarqoBaseDocumentsResponse):
            custom_field: str = "value"

        response = CustomResponse()
        result = response.dict(exclude={'custom_field'})
        self.assertNotIn('custom_field', result)
        self.assertNotIn('_batch_response_stats', result)
A test to verify that custom fields are excluded from the response.
tests/integ_tests/core/document/test_documents_common.py