Skip to content

Commit

Permalink
Remove nested query to improve perf
Browse files Browse the repository at this point in the history
  • Loading branch information
simontoens committed Mar 20, 2024
1 parent 2f7f508 commit 6f82a31
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion query.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6f82a31

Please sign in to comment.