holoviz / holoviz/param

Interface with traitlets?

Open
#227 0 comments 0 reactions 1 assignee Claimed by @tonyfast View on GitHub
"param in more places" status: discussion type-feature
Dominant language
Python
Stars
521
Forks
86
Avg merge
1d 13h
Merged PRs (30d)
35

Description

Param and [Traitlets](https://github.com/ipython/traitlets) solve similar problems but were developed independently, with Param starting in 2003 and Traitlets appearing in 2009. By now both are well established enough in their different ecosystems (Jupyter and PyViz) that it would be very difficult to move away from either one. However, there are certain cases where one might want to supply a HasTraits object where a Parameterized object is expected, and vice versa. For instance, a dashboard or app may want to include allow configuring either type of object, but it is unlikely to be written explicitly to provide that flexibility. Instead, maybe it would be possible for us to write a wrapper for a HasTraits object so that it can appear as a Parameterized object, at least for certain use cases such as for ParamBokeh? Not sure how feasible that is, but it seems worth considering when it comes up.

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.