chitralverma commented on PR #9370: URL: https://github.com/apache/opendal/pull/9370#issuecomment-7254829000
(AI-generated reply) Re [your review](https://github.com/apache/opendal/pull/9370#pullrequestreview-6102515464): fixed in 66faaf2bfb7969546f367e250c5cf44ba82fb4f5 (head da1576a1a0c432472fa3adb7714cd0a971ab4b97, which merges main). Both `Notes` paragraphs in `bindings/python/src/operator.rs` now read: > Deleting a path that does not exist succeeds only when the supplied options are valid and supported and all supplied conditions hold. `just stub-gen` regenerated `operator.pyi`, and only these two docstrings change. On a build of this head, sync and async give the same results: | Missing path | memory | Silo S3 (versioned) | | --- | --- | --- | | no options | ok | ok | | `recursive=True` | ok | ok | | `version=...` | `opendal.exceptions.Unsupported` | ok | | `if_match=...` | `opendal.exceptions.Unsupported` | `opendal.exceptions.ConditionNotMatch` | The same commit also: - moves the async docstring's `version`, `recursive`, and `if_match` entries from `Returns` to `Parameters`, so Sphinx renders them as parameters; - adds a paragraph to core's `DeleteOptions::recursive` doc saying that `recursive=True` without `Capability::delete_with_recursive` returns `Unsupported`, as `OpDelete::check` enforces. With `services-cacache`, which the wheels include, `delete("d/", recursive=True)` raises `Unsupported`. Rerunning every `ci_odev.yml` generator also adds this to the Node.js, Java, and .NET `recursive` docs; - makes both `delete` methods convert through the generated `DeleteOptions`. With these changes, `just fmt`, `just lint`, `just test-typing`, a clean Sphinx build with `-W -n`, and the memory and fs suites pass (501 passed, 91 skipped; 550 passed, 42 skipped). Every generator plus `cargo fmt` leaves `git diff --exit-code` clean, and the old-consumer probe still matches a build of main. -- 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]
