holoviz / holoviz/param

Use iterators and generators with Dynamic parameters

Open
#32 1 comment 0 reactions 0 assignees View on GitHub
component: dynamic values status: discussion type-feature
Dominant language
Python
Stars
521
Forks
86
Avg merge
1d 13h
Merged PRs (30d)
35

Description

Converted from SourceForge issue 1864370, submitted by ceball
Submit Date: 2008-01-05 07:58 GMT

Currently, we can't use python's iterators or generators with Dynamic parameters.

This is because:

(1) we deepcopy parameter values; python currently doesn't handle deepcopy of iterators and generators

(2) we want to be able to pickle simulations; python can't currently pickle iterators and generators (same as reason as 2)

(3) generators and iterators can't have attributes; we need to store _Dynamic_last and _Dynamic_time on the value generators

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.