From 3cb48404e5db845f3d89f1847b49adecf3160223 Mon Sep 17 00:00:00 2001 From: csae8092 Date: Tue, 10 Dec 2024 12:09:03 +0100 Subject: [PATCH] minor [skip ci] --- network/management/commands/edges.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/network/management/commands/edges.py b/network/management/commands/edges.py index 7305b06..95eb06d 100644 --- a/network/management/commands/edges.py +++ b/network/management/commands/edges.py @@ -25,7 +25,7 @@ def handle(self, *args, **kwargs): edge_kind = y.__name__.lower() source_kind = y.get_related_entity_classa().__name__.lower() target_kind = y.get_related_entity_classb().__name__.lower() - for x in tqdm(y.objects.all()[:5], total=y.objects.all().count()): + for x in tqdm(y.objects.all(), total=y.objects.all().count()): source_obj = x.get_related_entity_instancea() target_obj = x.get_related_entity_instanceb() item = {