Skip to content

Commit

Permalink
uncomment code that now works
Browse files Browse the repository at this point in the history
  • Loading branch information
jacalata committed Oct 17, 2024
1 parent 83d7a74 commit 35ee119
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions samples/filter_sort_groups.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,8 @@ def main():
groups = [urllib.parse.quote_plus(group) for group in ["SALES NORTHWEST", "SALES ROMANIA", "this_group"]]
print(groups)

# BUG: this loop seems to continue making requests long after we've seen all groups
# for group in server.groups.filter(name__in=groups).order_by("-name"):
# print(group.name)
for group in server.groups.filter(name__in=groups).order_by("-name"):
print(group.name)

print("done")

Expand Down

0 comments on commit 35ee119

Please sign in to comment.