l.c.b.b.BranchMergeProposalVoteView(LaunchpadView) : class documentation

Part of lp.code.browser.branchmergeproposal View In Hierarchy

The view used for the tables of votes and requested reviews.
Method show_table Should the reviewer table be shown at all?
Method reviews Return the decorated votes for the proposal.
Method current_reviews The current votes ordered by vote then date.
Method requested_reviews Reviews requested but not yet done.
@property
def show_table(self):
Should the reviewer table be shown at all?

We want to show the table when there is something for the user to do with it. If the user can request a review, or is a reviewer with reviews to do, then show the table.

@cachedproperty
def reviews(self):
Return the decorated votes for the proposal.
@cachedproperty
def current_reviews(self):
The current votes ordered by vote then date.
@cachedproperty
def requested_reviews(self):
Reviews requested but not yet done.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.