Skip to content

Store prefix does not always follow str typing #499

Answered by kylebarron
maxrjones asked this question in Q&A
Discussion options

You must be logged in to vote

It's intentional for LocalStore.prefix to be a Path because that's the most appropriate type to represent a path on a local disk. We could potentially canonicalize the path so it's not relative.

we cannot rely on str methods being available

You can call str(path)...?

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@kylebarron
Comment options

@maxrjones
Comment options

maxrjones Jul 16, 2025
Maintainer Author

@kylebarron
Comment options

@maxrjones
Comment options

maxrjones Jul 16, 2025
Maintainer Author

@kylebarron
Comment options

Answer selected by maxrjones
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants