ViewerToolRegistry#
- class glue.config.ViewerToolRegistry#
Bases:
DictRegistryMethods Summary
__call__(tool_cls)This is provided so that registry instances can be used as decorators.
add(tool_cls)Add a tool class to the registry.
Methods Documentation
- __call__(tool_cls)#
This is provided so that registry instances can be used as decorators. The decorators should add the decorated code object to the registry, and return the original function
- add(tool_cls)#
Add a tool class to the registry. The the
tool_idattribute on the tool_cls should be set, and is used by the viewers to indicate which tools they want to