chitralverma commented on PR #9332: URL: https://github.com/apache/opendal/pull/9332#issuecomment-7235339041
(AI-generated reply) Addressed in 2bcb5b7a9. The `limit` entries in the sync and async `list` and `scan` docstrings in `bindings/python/src/operator.rs` now read: > The maximum number of entries the service returns per request, as a hint. It does not cap the total: iteration continues across pages until every entry is returned. Some services, such as fs and memory, ignore it. `operator.pyi` follows through `just stub-gen`. Basis: core documents `FutureList::limit` as the max results per request (`core/core/src/types/operator/operator_futures.rs`), and the S3 lister passes `args.limit()` as `max-keys` on each page request (`core/services/s3/src/lister.rs`, `core/services/s3/src/core.rs`). On a local build of this head, `memory` and `fs` report `list_with_limit = False` and return every entry for `list` and `scan` with `limit=1`. I did not rerun an S3 fixture. -- 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]
