Methods that gets Persons, Accounts, and EmailAddresses in a single query

Registered by Curtis Hovey

As a launchpad developer,
I want methods to get a set of Person, Email, Account in a single query,
to dramatically cut query count from when working with teams.

Most timeouts relating to teams show that there are hundred or thousands of repeat queries to get Person, Email, Account objects. The problem is that when the Python gets a list of one of these objects, it is not getting the complete object, so there are repeated trips to the database to get what the code think it already has.

Since working with lists of members happens in many locations, a lot of callsites must be updated if a graceful fix cannot be inserted into the call chain.

Blueprint information

Status:
Complete
Approver:
Curtis Hovey
Priority:
Not
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
Obsolete
Series goal:
None
Implementation:
Not started
Milestone target:
None
Completed by
Curtis Hovey

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.