From f3df841ea3374a56aa04e98b89d0e5eb87e5eaf9 Mon Sep 17 00:00:00 2001 From: Otto Date: Sat, 14 Feb 2026 13:07:52 +0000 Subject: [PATCH] fix: correct docstring - pin validation is handled elsewhere --- autogpt_platform/backend/backend/data/graph.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/autogpt_platform/backend/backend/data/graph.py b/autogpt_platform/backend/backend/data/graph.py index 77b9e3367d..e564ab4d6a 100644 --- a/autogpt_platform/backend/backend/data/graph.py +++ b/autogpt_platform/backend/backend/data/graph.py @@ -875,7 +875,8 @@ class GraphModel(Graph, GraphMeta): This removes links that: - Reference non-existent source or sink nodes - Reference invalid block IDs - - Reference invalid pin names + + Note: Pin name validation is handled separately in _validate_graph_structure. Returns the number of links pruned. """