chitralverma commented on PR #9388: URL: https://github.com/apache/opendal/pull/9388#issuecomment-7260431228
Re [your review](https://github.com/apache/opendal/pull/9388#pullrequestreview-6104164618): both points hold on a build of c732003a5. The `OpenKwargs` clarification will land in the next Python options PR, so this approved head stays unchanged. - Sync and async `open()` accept other-mode options set to `None`, such as `"wb"` with `offset=None` and `"rb"` with `append=None`. They raise `TypeError` for any other value, including `offset=0` in `"wb"`, `size=1` in `"ab"`, and `append=False` in `"rb"`. - On `fs`, which has no `write_multi_min_size`, an `open()` file without `chunk` writes 262144-byte units, sync and async. - The Sphinx types page shows `OpenKwargs` but not the `WriteKwargs.chunk` docstring, so the follow-up adds the 256 KiB default to the `OpenKwargs` write-mode paragraph. *This comment is AI assisted.* -- 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]
