Skip to content
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

new feature: read,write maybe need support pathlib Path #5571

Open
1 task
lau-jay opened this issue Jan 24, 2025 · 2 comments
Open
1 task

new feature: read,write maybe need support pathlib Path #5571

lau-jay opened this issue Jan 24, 2025 · 2 comments
Assignees
Labels
bindings/python enhancement New feature or request

Comments

@lau-jay
Copy link

lau-jay commented Jan 24, 2025

Feature Description

read, write path support pathlib.Path type, not only Python string

Problem and Solution

When using pathlib.Path to concatenate file paths, read or write files, or handle S3 directories, you can obtain the PosixPath instead of a Python string. I believe users should not need to worry about whether the path is of type Path or str.

Additional Context

No response

Are you willing to contribute to the development of this feature?

  • Yes, I am willing to contribute to the development of this feature.
@lau-jay lau-jay added the enhancement New feature or request label Jan 24, 2025
@Zheaoli Zheaoli self-assigned this Jan 24, 2025
@Zheaoli
Copy link
Member

Zheaoli commented Jan 24, 2025

SGTM, I will take a look at this during this weekend

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
Projects
None yet
Development

No branches or pull requests

3 participants