Allow path_type of the Path type to accept a callable (#405_)#1234
Allow path_type of the Path type to accept a callable (#405_)#1234termim wants to merge 1 commit into
#405_)#1234Conversation
2762849 to
492e0f8
Compare
LucidOne
left a comment
There was a problem hiding this comment.
I looks like this assertion needs to be uncommented.
|
Ran I also tested this with an application I'm developing by adding However, using sets as Also, I'm not sure if there would be an advantage to setting this to Aside from the above it looks good to me, I would like to see this merged. |
This would allow to convert path names to pathlib.Path instances for example.
Done. |
I can't reproduce this:
That would make click require pathlib2 for python2 ... |
I was getting |
Ah, yes, without this #1234 it always returns bytes if path_type is not a string ... |
|
|
This would allow to convert path names to pathlib.Path instances
for example.
closes #405