lazr.restful is doing something very odd with ProjectGroupSet.__iter__
https://launchpad.net/projectgroups/+all states there are 465 active and inactive project groups. It lists 345 active groups. The list matches the contents of the db table.
But over the API this fragment contains a different list of project groups. There are still 345 active items in the list, but many project groups are replaced by a duplicate of a group already in the list.
project_groups = [pg for pg in launchpad.project_groups]
I see 47 duplicates I printed this listing.
launchpad.project_groups['webapps'] works fine and it is the proper way to look up a project group.
lazr.restful is doing something very odd with ProjectGroupSet .__iter_ _
https:/ /launchpad. net/projectgrou ps/+all states there are 465 active and inactive project groups. It lists 345 active groups. The list matches the contents of the db table.
But over the API this fragment contains a different list of project groups. There are still 345 active items in the list, but many project groups are replaced by a duplicate of a group already in the list. project_ groups]
project_groups = [pg for pg in launchpad.
I see 47 duplicates I printed this listing.
launchpad. project_ groups[ 'webapps' ] works fine and it is the proper way to look up a project group.