Do not fetch a collection's content when I only want to call a named operation on that collection

Bug #253635 reported by Guilherme Salgado
2
Affects Status Importance Assigned to Milestone
launchpadlib
Fix Released
Undecided
Leonard Richardson

Bug Description

Currently, doing "launchpad.people.find(text='foo')" will cause the content of the people collection to be retrieved before the find() operation takes place. That's unnecessary and will certainly slow down all operations on a collection.

It's likely that the same happens with Entries, but that'd be less of a problem since it should be a lot faster to retrieve an Entry than to retrieve a Collection. We should probably fix it for Entries as well, though.

Changed in launchpadlib:
assignee: nobody → leonardr
status: New → Confirmed
Changed in launchpadlib:
status: Confirmed → In Progress
Revision history for this message
Leonard Richardson (leonardr) wrote :

Fix landed last week.

Changed in launchpadlib:
status: In Progress → Fix Committed
Changed in launchpadlib:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.