holoviz / holoviz/param

objects container shared when check_on_set is False

Open
#1,072 1 comment 0 reactions 0 assignees View on GitHub
TRIAGE type-bug
Dominant language
Python
Stars
521
Forks
86
Avg merge
1d 13h
Merged PRs (30d)
35

Description

Should the `objects` container of a `Selector` be shared when `check_on_set` is `False`?

```python
import param

class P(param.Parameterized):
s = param.Selector(default=1, objects=[1, 2], check_on_set=False)

pa = P(s=3)
pb = P(s=4)
p = P()

print(p.param.s.objects)
# [1, 2, 3, 4]
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.