def test_update_multimodal_dependent_field(self):
        """Ensure that we CAN NOT update a multimodal dependent field."""
        original_doc = {
            "dependent_field_1": "dependent field 1",
            "dependent_field_2": "dependent field 2",
            "_id": "1"
        }
        # Add the original document to the index
        self.client.index(self.update_doc_index_name).add_documents(documents=[original_doc])
        # Verify the document has been added
        self.assertEqual(1, self.client.index(self.update_doc_index_name).get_stats()["numberOfDocuments"])

        updated_doc = {
            "dependent_field_1": "updated dependent field 1",
            "_id": "1"
        }
        # Attempt to update the document's multimodal dependent field
        r = self.client.index(self.update_doc_index_name).update_documents(documents=[updated_doc])

        # Assuming the response `r` contains error details in a specific structure
        self.assertEqual(True, r["errors"])
        self.assertIn("dependent field", r["items"][0]["error"])
Ensure that we CAN NOT update a multimodal dependent field.
tests/api_tests/v1/tests/api_tests/structured_index/test_partial_update_document.py