Part of lp.code.interfaces.branchmergeproposal View In Hierarchy
Method | get | Return the BranchMergeProposal with specified id. |
Method | getProposalsForContext | Return BranchMergeProposals associated with the context. |
Method | getProposalsForParticipant | Return BranchMergeProposals associated with the context. |
Method | getVotesForProposals | Return a dict containing a mapping of proposals to vote references. |
Method | getVoteSummariesForProposals | Return the vote summaries for the proposals. |
Parameters | context | Either an IPerson or IProduct . |
status | An iterable of queue_status of the proposals to return. If None is specified, all the proposals of all possible states are returned. | |
visible_by_user | If a person is not supplied, only merge proposals based on public branches are returned. If a person is supplied, merge proposals based on both public branches, and the private branches that the person is entitled to see are returned. Private branches are only visible to the owner and subscribers of the branch, and to LP admins. | |
Raises | BadBranchMergeProposalSearchContext | If the context is not understood. |
Parameters | participant | An IPerson that is participating in the merge
proposal, either a reviewer or reviewee. |
status | An iterable of queue_status of the proposals to return. If None is specified, all the proposals of all possible states are returned. | |
visible_by_user | If a person is not supplied, only merge proposals based on public branches are returned. If a person is supplied, merge proposals based on both public branches, and the private branches that the person is entitled to see are returned. Private branches are only visible to the owner and subscribers of the branch, and to LP admins. |