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"
        }
        self.add_documents(config=self.config, add_docs_params=AddDocsParams(
            index_name=self.structured_index_name,
            docs=[original_doc]
        ))
        self.assertEqual(1, self.monitoring.get_index_stats_by_name(self.structured_index_name).number_of_documents)

        updated_doc = {
            "dependent_field_1": "updated dependent field 1",
            "_id": "1"
        }

        r = self.config.document.partial_update_documents_by_index_name(
            partial_documents=[updated_doc],
            index_name=self.structured_index_name).dict(exclude_none=True, by_alias=True)
        self.assertEqual(True, r["errors"])
        self.assertIn("dependent field", r["items"][0]["error"])
Ensure that we CAN NOT update a multimodal dependent field.
tests/integ_tests/core/document/test_partial_document_update.py