holoviz / holoviz/param

Document gen_types

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

Description

https://github.com/holoviz/param/pull/966 added some internal utility to allow running `isinstance/issubclass` checks against a generator that yields types. This is useful for avoiding importing libraries on import, for example. @hoxbro used the same code in HoloViews and added a comment to use the code from Param when HoloViews' pin on Param gets bumped to the version that added `gen_types`. This function was not documented, but if we decide to use it elsewhere, it becomes de facto public API and we need to document it (at least add it to the API reference). If not, we should make it clearly part of Param's private API.

cc https://github.com/holoviz/holoviews/pull/6476#discussion_r2075271194

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.