未验证 提交 4124d8c1 编写于 作者: 走神的阿圆's avatar 走神的阿圆 提交者: GitHub

Filter data of Model type in the hub search command

上级 162effb5
......@@ -36,7 +36,8 @@ class SearchCommand:
results = module_server.search_module(name=argv)
for result in results:
table.append(result['name'], result['version'], result['summary'])
if 'Module' == result['type']:
table.append(result['name'], result['version'], result['summary'])
print(table)
return True
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册