Skip to content

Conversation

ap--
Copy link
Collaborator

@ap-- ap-- commented Oct 5, 2025

This PR enables type narrowing of the UPath class instantiation when provided a literal string protocol for the protocol keyword argument.

Close #415

@ap-- ap-- merged commit 023414d into fsspec:main Oct 5, 2025
27 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.

typing: support type narrowing via protocol kwarg
1 participant