Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.49 KB

File metadata and controls

31 lines (22 loc) · 1.49 KB

BatchDocumentUpdate

Single document update specification for batch operations. Represents one document's update within a batch request.

Properties

Name Type Description Notes
document_id str REQUIRED. Document ID to update. Must exist in the collection. Format: 'doc_' prefix + alphanumeric characters.
update_data Dict[str, object] REQUIRED. Fields to update for this specific document. Can update any document field except vectors. Supported fields: metadata, source_blobs, document_blobs, lineage fields (root_object_id, source_type, etc.), and any custom fields. Each document in the batch can have different update_data.

Example

from mixpeek.models.batch_document_update import BatchDocumentUpdate

# TODO update the JSON string below
json = "{}"
# create an instance of BatchDocumentUpdate from a JSON string
batch_document_update_instance = BatchDocumentUpdate.from_json(json)
# print the JSON string representation of the object
print(BatchDocumentUpdate.to_json())

# convert the object into a dict
batch_document_update_dict = batch_document_update_instance.to_dict()
# create an instance of BatchDocumentUpdate from a dict
batch_document_update_from_dict = BatchDocumentUpdate.from_dict(batch_document_update_dict)

[Back to Model list] [Back to API list] [Back to README]