Maxime Liquet

Results 316 issues of 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...

API

`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...

type-feature

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...

type-bug

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...

type-bug

Param doesn't currently support aync methods marked with `@param.depends(..., on_init=True)`.

type-feature

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):...

type-bug

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} ```...

type-bug

Selector was created to remove ObjectSelector. ObjectSelector is marked as deprecated in its docstring, it should now emit a warning when used.

type-bug

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...

type-feature

`param.concrete_descendents` is used quite a lot in Panel/HoloViews/Lumen/hvPlot/etc. Certainly worth documenting!

doc