From afe53f3687796856d65eb1763403ac56f2c3c126 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Thu, 27 Mar 2025 12:50:07 +0800 Subject: [PATCH] fix: _validate_subgraph bug --- apps/mtm/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/mtm/models.py b/apps/mtm/models.py index 15d21715..eef70bcf 100644 --- a/apps/mtm/models.py +++ b/apps/mtm/models.py @@ -283,7 +283,7 @@ class RoutePack(CommonADModel): } return result - def _validate_subgraph(materials, graph, final_id): + def _validate_subgraph(self, materials, graph, final_id): """校验单个子图的有效性并返回层级结构""" errors = [] levels = {}