Part of lp.registry.interfaces.persontransferjob View In Hierarchy
Method | create | Create a new IPersonMergeJob. |
Method | find | Finds pending merge jobs. |
Inherited from IJobSource:
Int | memory_limit | Undocumented |
Method | iterReady | Iterate through all jobs. |
Method | contextManager | Get a context for running this kind of job in. |
None is returned if either the from_person or to_person are already in a pending merge. The review keyword argument is required if the from_person and to_person are teams.
Parameters | from_person | An IPerson or ITeam that is a duplicate. |
to_person | An IPerson or ITeam that is a master. | |
reviewer | An IPerson who approved ITeam merger. | |
delete | The merge is really a deletion. |
If both from_person
and to_person
is supplied, only jobs where
both match are returned by default. When any_person is True and
from_person
and to_person
are supplied, jobs with either person
specified are returned.
Parameters | from_person | Match jobs on from_person , or None to ignore
from_person . |
to_person | Match jobs on to_person , or None to ignore
from_person . | |
any_person | Match jobs on the to_person or the from_person
when both to_person and from_person are not None. | |
Returns | A ResultSet yielding IPersonMergeJob . |