Is 'name' a reserved word in param? Should this be in the Param/Panel docs somewhere?

So this works:

class CompensationView(param.Parameterized):
    myname = param.Selector(objects=['A','B','C'])

This doesn’t

class CompensationView(param.Parameterized):
    name = param.Selector(objects=['A','B','C'])

I assume name is a reserved word in param. Is there a good place to put this in the docs? Happy to do a PR.

Also Panel example refer to using ObjectSelector which says it is depreciated. Should docs be updated to Selector?

1 Like

It is reserved, I only know this from reading this post earlier today

https://discourse.holoviz.org/t/creating-an-optional-datetime-parameter-using-param/3147