Skip to content

feat(bindings/python): Add start_after support for list #6054

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 17 commits into from
Apr 20, 2025

Conversation

asukaminato0721
Copy link
Contributor

Which issue does this PR close?

Closes #6042 .

Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?

@asukaminato0721 asukaminato0721 changed the title add start-with feat(bindings/python): add start-with Apr 19, 2025
@asukaminato0721 asukaminato0721 marked this pull request as ready for review April 19, 2025 13:47
@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. bindings/python enhancement New feature or request labels Apr 19, 2025
Copy link
Member

@Xuanwo Xuanwo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Others look good to me, thanks a lot for this!

async def presign_stat(
self, path: PathBuf, expire_second: int
) -> PresignedRequest:
async def scan(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Scan should be replaced by list(recursive=True). We can add this for list first.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So anything to do on this pr?

@yihong0618
Copy link
Contributor

do we need add test for it?

lint

ruff check --select I --fix .

rm test
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. and removed size:M This PR changes 30-99 lines, ignoring generated files. labels Apr 20, 2025
@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. and removed size:L This PR changes 100-499 lines, ignoring generated files. labels Apr 20, 2025
@asukaminato0721 asukaminato0721 requested a review from Xuanwo April 20, 2025 12:34
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. and removed size:M This PR changes 30-99 lines, ignoring generated files. labels Apr 20, 2025
@Xuanwo Xuanwo added the releases-note/feat The PR implements a new feature or has a title that begins with "feat" label Apr 20, 2025
@asukaminato0721
Copy link
Contributor Author

do we need add test for it?

done

@Xuanwo Xuanwo changed the title feat(bindings/python): add start-with feat(bindings/python): Add start_after support for list Apr 20, 2025
Copy link
Member

@Xuanwo Xuanwo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @asukaminato0721 for building this!

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Apr 20, 2025
@Xuanwo Xuanwo merged commit 178eb55 into apache:main Apr 20, 2025
218 checks passed
@asukaminato0721 asukaminato0721 deleted the start-after branch April 20, 2025 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bindings/python enhancement New feature or request lgtm This PR has been approved by a maintainer releases-note/feat The PR implements a new feature or has a title that begins with "feat" size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

new feature: Add start-after support in python binding
3 participants