Skip to content

Make FileUpload.save accept Path instance for destination - #1482

Closed
johndoe46 wants to merge 1 commit into
bottlepy:masterfrom
johndoe46:patch-1
Closed

johndoe46 wants to merge 1 commit into
bottlepy:masterfrom
johndoe46:patch-1

Conversation

@johndoe46

Copy link
Copy Markdown

Path instance is detected and converted to str. No other changes.

Path instance is detected and converted to str.
@defnull

defnull commented Apr 21, 2025

Copy link
Copy Markdown
Member

I would prefer to actually move from os.path to pathlib.Path whenever possible, ans support both str and os.PathLike as input to those functions/methods.

@defnull defnull added the Feature This is a feature request, not a bug. Open for discussion. label Apr 21, 2025
@johndoe46 johndoe46 closed this by deleting the head repository Oct 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature This is a feature request, not a bug. Open for discussion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants