UniqueDictRegistry
- class jdaviz.core.registries.UniqueDictRegistry[source] [edit on github]
Bases:
DictRegistry
Base registry class that handles hashmap-like associations between a string representation of a plugin and the class to be instantiated.
Methods Summary
add
(name, cls)Add an item to the registry.
Methods Documentation
- add(name, cls)[source] [edit on github]
Add an item to the registry.
- Parameters
- namestr
The name referencing the associated class in the registry.
- clstype
The class definition (not instance) associated with the name given in the first parameter.