Skip to content

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

@lau-jay

Description

@lau-jay

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions