From 6f82a31c7cfe125eb94c27c7a19c2938d70a800c Mon Sep 17 00:00:00 2001 From: Simon Toens Date: Wed, 20 Mar 2024 11:18:38 +0900 Subject: [PATCH] Remove nested query to improve perf --- query.py | 1 - 1 file changed, 1 deletion(-) diff --git a/query.py b/query.py index cb2438e..a3d7a1d 100755 --- a/query.py +++ b/query.py @@ -150,7 +150,6 @@ def _to_json(thing): attrs["version"] = external_dependency.version attrs["classifier"] = external_dependency.classifier attrs["name"] = external_dependency.bazel_label_name - attrs["ancestors"] = sorted([d.bazel_label_name for d in ws.dependency_metadata.get_ancestors(external_dependency)]) ext_deps.append(attrs) if args.filter is not None: # filter AFTER building result dict so that filtering on ancestors