feat: 批次的DAG数据只获取直接的上下级
This commit is contained in:
parent
00d0b1ea00
commit
ed2804c098
|
@ -1144,7 +1144,7 @@ class BatchLogViewSet(CustomListModelMixin, CustomGenericViewSet):
|
|||
获取该批次的DAG图数据
|
||||
"""
|
||||
batch = request.data.get("batch", None)
|
||||
method = request.data.get("method", "full")
|
||||
method = request.data.get("method", "direct")
|
||||
if not batch:
|
||||
raise ParseError("缺少batch参数")
|
||||
return Response(get_batch_dag(batch, method))
|
||||
|
|
Loading…
Reference in New Issue