feat: Implement partial update for document metadata, allowing merging of new values with existing ones. (#28390)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
@@ -158,6 +158,7 @@ class MetadataDetail(BaseModel):
|
||||
class DocumentMetadataOperation(BaseModel):
|
||||
document_id: str
|
||||
metadata_list: list[MetadataDetail]
|
||||
partial_update: bool = False
|
||||
|
||||
|
||||
class MetadataOperationData(BaseModel):
|
||||
|
||||
Reference in New Issue
Block a user