Improved param and rx docs #1080
Annotations
2 errors
Test Unit:
tests/testreactive.py#L774
test_docstrings_in_sync
assert '\nThe reacti...a.rx()\n```\n' == '\nThe reacti...a.rx()\n```\n'
Skipping 301 identical leading characters in diff, use -v to show
- Examples
+ Examples:
? +
- --------
Lets create a Parameterized instance:
```python
import param
class P(param.Parameterized):
a = param.Number()
b = param.String()
p = P(a=1, b="hello")
```
Get the current value:
```python
a = p.param.a.rx.value
```
Call it to get a reactive expression:
```python
rx_value = p.param.a.rx()
```
|
Test Unit
Process completed with exit code 1.
|
Loading