TennyZhuang opened a new pull request, #6679:
URL: https://github.com/apache/opendal/pull/6679

   # Which issue does this PR close?
   
   Closes #.
   
   # Rationale for this change
   
   The Python SDK could only delete objects one at a time, which meant callers 
had to loop and missed out on the batch deletion facilities exposed by the core 
Operator.
   
   # What changes are included in this PR?
   
   - add `Operator.delete_many` and `AsyncOperator.delete_many` wrappers over 
the core `delete_iter` API
   - document the new helpers in the generated type stubs
   - extend sync and async delete tests to cover bulk deletion
   
   # Are there any user-facing changes?
   
   - Added `Operator.delete_many` / `AsyncOperator.delete_many` for batch 
deletions.
   - Tests: `pytest tests/test_sync_delete.py tests/test_async_delete.py` with 
`OPENDAL_TEST=memory`.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to