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

UPath.joinpath raise error on protocol mismatch #264

Merged
merged 4 commits into from
Aug 31, 2024

Conversation

ap--
Copy link
Collaborator

@ap-- ap-- commented Aug 31, 2024

Close #213

This PR adds tests for joinpath, joinuri, and __truediv__ to ensure an error is raised when UPaths with incompatible protocols are joined.

It also raises a ValueError for cloudpaths if the UPath is initialized without a bucket or container.

@ap-- ap-- self-assigned this Aug 31, 2024
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.

Behaviour of joinpath when the second path has protocol
1 participant