def register_plugin_calls(*funcs):
 wrapped_dict = {}
 for func in funcs:
  wrapped_dict[func.__name__] = _handle_serialization(func)
 XenAPIPlugin.dispatch(wrapped_dict)

def register_plugin_calls ( * funcs ) : wrapped_dict = { } for func in funcs : wrapped_dict [ func . __name__ ] = _handle_serialization ( func ) XenAPIPlugin . dispatch ( wrapped_dict )
wrapper around xenapiplugin .