mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-06-29 15:31:05 +08:00
Feat: add delete all support for delete operations (#13530)
### What problem does this PR solve? Add delete all support for delete operations. ### Type of change - [x] New Feature (non-breaking change which adds functionality) - [x] Documentation Update --------- Co-authored-by: writinwaters <cai.keith@gmail.com>
This commit is contained in:
@@ -649,7 +649,8 @@ class UpdateDatasetReq(CreateDatasetReq):
|
||||
|
||||
|
||||
class DeleteReq(Base):
|
||||
ids: Annotated[list[str] | None, Field(...)]
|
||||
ids: Annotated[list[str] | None, Field(default=None)]
|
||||
delete_all: Annotated[bool, Field(default=False)]
|
||||
|
||||
@field_validator("ids", mode="after")
|
||||
@classmethod
|
||||
|
||||
Reference in New Issue
Block a user