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
410 stars 69 forks source link

Ability to specify multiple classes in class_ for ClassSelector parameter type needs to be documented #943

Closed DmitriyLeybel closed 1 week ago

DmitriyLeybel commented 1 month ago

I stumbled upon the ability to input a tuple into ClassSelector by querying Perplexity to scour the documentation and API. e.g.

class Test(Parameterized):
    test_param = param.ClassSelector(class_=(dict, list))

It would probably be a big benefit to document this feature. The only place I found it mildly mentioned was in the Deprecations section of the Upgrade Guide.