holoviz / param

Param: Make your Python code clearer and more reliable by declaring Parameters
https://param.holoviz.org
BSD 3-Clause "New" or "Revised" License
412 stars 69 forks source link

Add official support to pathlib.Path objects to param.Path #803

Open maximlt opened 11 months ago

maximlt commented 11 months ago

param.Path can actually accept pathlib.Path objects (this is used in Panel currently) except that there's no real "official" support for it, i.e. no docs and no tests. So that's the minimum we should do I think.

One step further would be for the Parameter value not to be converted as a string but be kept as a pathlib.Path object.