def get(self, plugin_uuid=None):
LOG.debug("GET plugin info for: %r" % plugin_uuid)
try:
p = model.Plugin.objects.get(uuid=plugin_uuid)
return p.to_dict(), 200
except DoesNotExist as e:
LOG.error("Lookup error: %r" % plugin_uuid)
return {}, 404
评论列表
文章目录