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

!397 the filter condition is_display_op_detail validates error in the restful...

!397 the filter condition is_display_op_detail validates error in the restful api of minddata pipeline
Merge pull request !397 from chenchao99/profiler_pipeline
......@@ -296,7 +296,7 @@ def validate_minddata_pipeline_condition(condition):
elif key == 'op_type':
validate_op_filter_condition(value)
elif key == 'is_display_op_detail':
if not isinstance(key, bool):
if not isinstance(value, bool):
raise ProfilerFilterConditionException(
"The condition must be bool."
)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册