Skip to content

feat(url): accept path-like objects for the url parameter - #449

Merged
liZe merged 1 commit into
Kozea:mainfrom
SAY-5:feat/url-pathlike
Jul 5, 2026
Merged

feat(url): accept path-like objects for the url parameter#449
liZe merged 1 commit into
Kozea:mainfrom
SAY-5:feat/url-pathlike

Conversation

@SAY-5

@SAY-5 SAY-5 commented May 18, 2026

Copy link
Copy Markdown
Contributor

Closes #429. The url parameter now accepts pathlib.Path and other os.PathLike objects in addition to strings, as confirmed wanted by a maintainer in the issue thread. Path-like values are normalized with os.fspath so existing string behavior is unchanged.

@liZe

liZe commented Jul 5, 2026

Copy link
Copy Markdown
Member

Thank you!

@liZe
liZe merged commit 026fbce into Kozea:main Jul 5, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

url keyword parameter does not accept pathlib.Path objects

2 participants