Maxime Liquet
Maxime Liquet
As discussed with @jlstevens the other day, we're suggesting deprecating the `search_paths` attribute as it doesn't provide much functionality for increased complexity and probably some added confusion between `Path` and...
`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...
This was certainly already suggested and discussed multiple times (e.g. https://github.com/holoviz/param/pull/740#issuecomment-1549323783 from @jlstevens) but I couldn't find a specific issue for it. `name` is a `String` Parameter included by default...
Param allows to [update the value of instances of a class from the class level](https://param.holoviz.org/user_guide/Parameters.html#parameter-inheritance-and-instantiation), when the value hasn't yet been set (constructor or setattr), e.g.: ```python import param class...
Param doesn't currently support aync methods marked with `@param.depends(..., on_init=True)`.
The [Dependencies and Watchers](https://param.holoviz.org/user_guide/Dependencies_and_Watchers.html#dependency-specs) guide shows that you can depend on a _method_, as in the example below: ```python import param class D(param.Parameterized): x = param.Number(0) @param.depends('x', watch=True) def cb1(self):...
The `Selector` Parameter is instantiated with `allow_None=None`. All of its descendants inherit this. ```python >>> import param >>> print(param.concrete_descendents(param.Selector)) {'Selector': param.Selector, 'ObjectSelector': param.ObjectSelector, 'FileSelector': param.FileSelector, 'ListSelector': param.ListSelector, 'MultiFileSelector': param.MultiFileSelector} ```...
Selector was created to remove ObjectSelector. ObjectSelector is marked as deprecated in its docstring, it should now emit a warning when used.
Parameters can currently be constructed with a variable number of positional arguments. ```python param.List([1, 2], int, int, True, (2, 4)) param.ObjectSelector(1, [1, 2, 3]) ``` [PEP 3102](https://peps.python.org/pep-3102/) implemented in Python...
`param.concrete_descendents` is used quite a lot in Panel/HoloViews/Lumen/hvPlot/etc. Certainly worth documenting!