示例#1
0
 def unbind(self, bindings, options):
     """
     Unbind to the specified repository ID.
     Delegated to content handlers.
     :param bindings: A list of bindings to be removed.
       Each binding is: {type_id:<str>, repo_id:<str>}
     :type bindings: list
     :param options: Unbind options.
     :type options: dict
     :return: A dispatch report.
     :rtype: DispatchReport
     """
     conduit = Conduit()
     dispatcher = Dispatcher()
     report = dispatcher.unbind(conduit, bindings, options)
     return report.dict()
示例#2
0
 def unbind(self, bindings, options):
     """
     Unbind to the specified repository ID.
     Delegated to content handlers.
     :param bindings: A list of bindings to be removed.
       Each binding is: {type_id:<str>, repo_id:<str>}
     :type bindings: list
     :param options: Unbind options.
     :type options: dict
     :return: A dispatch report.
     :rtype: DispatchReport
     """
     conduit = Conduit()
     dispatcher = Dispatcher()
     report = dispatcher.unbind(conduit, bindings, options)
     return report.dict()