Skip to main content

register_interoperable_class

Register an Interoperable class in the global registry.
Returns:
Callable[[InteroperableClass], InteroperableClass]: Decorator function
Example:
python @register_interoperable_class("myinterop") class MyInteroperability(Interoperable): <br/> def convert_tool(self, tool: Any) -> Tool: <br/> # implementation ...<br/>
Parameters: Returns: