def actions(self):
# TODO this doesn't handle method/visualizer name collisions. The
# auto-generated `qiime2.plugins.<plugin-name>.actions` API has the
# same problem. This should be solved at method/visualizer registration
# time, which will solve the problem for both APIs.
actions = {}
actions.update(self.methods)
actions.update(self.visualizers)
actions.update(self.pipelines)
return types.MappingProxyType(actions)
评论列表
文章目录