From b39c21d90c35dcf20f4e4f80f4faae1f94637db8 Mon Sep 17 00:00:00 2001 From: Sameer Kankute Date: Tue, 9 Dec 2025 17:56:13 +0530 Subject: [PATCH] fix: Add _delete_nested_value_custom to recursive function ignore list The _delete_nested_value_custom function is recursive but has bounded depth (limited by the number of path segments), preventing infinite recursion. This is necessary for nested field removal in additional_drop_params. --- tests/code_coverage_tests/recursive_detector.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/code_coverage_tests/recursive_detector.py b/tests/code_coverage_tests/recursive_detector.py index c26d1669a8..1a3a3260f7 100644 --- a/tests/code_coverage_tests/recursive_detector.py +++ b/tests/code_coverage_tests/recursive_detector.py @@ -35,6 +35,7 @@ IGNORE_FUNCTIONS = [ "_fix_enum_types", # max depth set. "_collect_argument_paths", # max depth set. "_split_text", # max depth set. + "_delete_nested_value_custom", # max depth set (bounded by number of path segments). ]