Skip to content

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

@DmitriyLeybel

Description

@DmitriyLeybel

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions