-
-
Notifications
You must be signed in to change notification settings - Fork 83
Document gen_types #1059
Copy link
Copy link
Open
Labels
docdocs, interactive help, auto-completion, etcdocs, interactive help, auto-completion, etc
Metadata
Metadata
Assignees
Labels
docdocs, interactive help, auto-completion, etcdocs, interactive help, auto-completion, etc
#966 added some internal utility to allow running
isinstance/issubclasschecks 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 addedgen_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 holoviz/holoviews#6476 (comment)