提交 c84d33d9 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!22 Unquote train_id for scalar metadata api

Merge pull request !22 from luopengting/fix_restfui_api
......@@ -78,7 +78,7 @@ def scalar_metadata():
one of which is an object containing items' wall_time, step and value.
"""
tag = request.args.get("tag")
train_id = request.args.get("train_id")
train_id = get_train_id(request)
processor = ScalarsProcessor(DATA_MANAGER)
response = processor.get_metadata_list(train_id, tag)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册