feat: 批次的DAG数据只获取直接的上下级

This commit is contained in:
caoqianming 2025-09-15 10:26:36 +08:00
parent 00d0b1ea00
commit ed2804c098
1 changed files with 1 additions and 1 deletions

View File

@ -1144,7 +1144,7 @@ class BatchLogViewSet(CustomListModelMixin, CustomGenericViewSet):
获取该批次的DAG图数据 获取该批次的DAG图数据
""" """
batch = request.data.get("batch", None) batch = request.data.get("batch", None)
method = request.data.get("method", "full") method = request.data.get("method", "direct")
if not batch: if not batch:
raise ParseError("缺少batch参数") raise ParseError("缺少batch参数")
return Response(get_batch_dag(batch, method)) return Response(get_batch_dag(batch, method))