提交 455f1de7 编写于 作者: L luopengting

unquote train id for scalar metadata api

上级 cc385a72
...@@ -78,7 +78,7 @@ def scalar_metadata(): ...@@ -78,7 +78,7 @@ def scalar_metadata():
one of which is an object containing items' wall_time, step and value. one of which is an object containing items' wall_time, step and value.
""" """
tag = request.args.get("tag") tag = request.args.get("tag")
train_id = request.args.get("train_id") train_id = get_train_id(request)
processor = ScalarsProcessor(DATA_MANAGER) processor = ScalarsProcessor(DATA_MANAGER)
response = processor.get_metadata_list(train_id, tag) 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.
先完成此消息的编辑!
想要评论请 注册