holoviz / holoviz/param

generators not working

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

Description

#### ALL software version info

Software Version Info

```plaintext
python 3.11.9
param 2.2.0
```

#### Description of expected behavior and the observed behavior
should print `g`

#### Complete, minimal, self-contained example code that reproduces the issue

```python
def g():
while True: yield 'g'

import param
class P(param.Parameterized):
p = param.String(allow_refs=True)
p = P(p=g)
#print(next(g()))
print(p.p) # nothing prints
```

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.