Module ImportFrom alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias identifier ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Dict AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Num Num Assign NameStore BinOpBitAnd Call NameLoad keyword NameLoad Call NameLoad keyword NameLoad If NameLoad body Assign NameStore BinOpBitAnd NameLoad NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr Str Str Str Str Str Str Str Str Str Str Str Str If NameLoad body Assign NameStore Dict Str Str Str Str Call NameLoad Call NameLoad Call NameLoad Call NameLoad For NameStore NameLoad body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body Assign NameStore SubscriptLoad NameLoad Index BinOpAdd NameLoad Str Assign NameStore SubscriptLoad NameLoad Index BinOpAdd NameLoad Str If BoolOpAnd NameLoad CompareNotIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad NameLoad Index BinOpAdd NameLoad Str If NameLoad body AugAssignAdd SubscriptStore NameLoad Index NameLoad Num Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareIs AttributeLoad NameLoad attr NameLoad body Return Num Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword ListLoad Str Str Str Return NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore TupleLoad TupleLoad NameLoad Call NameLoad Str TupleLoad NameLoad Call NameLoad Str TupleLoad NameLoad Call NameLoad Str Assign NameStore Dict AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Str keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Call NameLoad Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Str keyword AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Str keyword Num keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Str keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Str keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str keyword Call NameLoad Str keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Str keyword Num keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Str keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str keyword Call NameLoad Str keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str keyword Call NameLoad Str keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Call NameLoad Str keyword Str keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str keyword Call NameLoad Str keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Call NameLoad Str keyword Call NameLoad Str keyword Str keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str keyword Call NameLoad Str keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Call NameLoad Str keyword Call NameLoad Str keyword Str keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str keyword Call NameLoad Str keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Call NameLoad Str keyword Str keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad keyword NameLoad keyword Call NameLoad Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Str keyword Str keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad Call NameLoad Str keyword Num Assign NameStore Call NameLoad Call NameLoad Str keyword NameLoad Assign NameStore Call NameLoad Call NameLoad Str keyword NameLoad Assign NameStore Call NameLoad Call NameLoad Str keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad keyword Str Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad FunctionDef arguments args NameParam defaults body If CompareIsNot AttributeLoad NameLoad attr NameLoad body Return AttributeLoad NameLoad attr orelse If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr attr keyword Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign AttributeStore NameLoad attr Call NameLoad NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad body Pass Assign AttributeStore NameLoad attr NameLoad decorator_list Assign NameStore Call NameLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad Str body Expr Call AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad Str body Expr Call AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return ListComp NameLoad comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr comprehension NameStore AttributeLoad NameLoad attr decorator_list Assign NameStore Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call AttributeLoad NameLoad attr body If BoolOpAnd Call NameLoad NameLoad Str CompareGt AttributeLoad NameLoad attr Num body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad TryExcept body Assign NameStore SubscriptLoad NameLoad Index Num Return Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword AttributeLoad NameLoad attr attr keyword NameLoad handlers ExceptHandler type NameLoad body Pass Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Return AttributeLoad NameLoad attr orelse Return AttributeLoad NameLoad attr decorator_list Assign NameStore Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Str If CompareEq AttributeLoad NameLoad attr NameLoad body Return NameLoad If BoolOpAnd UnaryOpNot AttributeLoad NameLoad attr UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad keyword NameLoad Return NameLoad If BoolOpAnd AttributeLoad NameLoad attr UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad keyword NameLoad Return NameLoad If BoolOpAnd NameLoad UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad keyword NameLoad Return NameLoad If BoolOpAnd Call AttributeLoad NameLoad attr CompareGt Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr attr Num body Return NameLoad Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot NameLoad body Return NameLoad For NameStore NameLoad body If Call AttributeLoad NameLoad attr NameLoad keyword NameLoad body Return NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return BoolOpOr CompareEq AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return BoolOpOr CompareEq AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If UnaryOpNot NameLoad body Return Call NameLoad AttributeLoad NameLoad attr orelse If Call AttributeLoad NameLoad attr body Return Call NameLoad AttributeLoad NameLoad attr keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str ImportFrom alias Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore NameLoad If BoolOpAnd UnaryOpNot NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body For NameStore NameLoad body If CompareGtE AttributeLoad NameLoad attr NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore NameLoad If UnaryOpNot NameLoad body TryExcept body Assign NameStore ListLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr handlers ExceptHandler type NameLoad body Assign NameStore ListLoad For NameStore NameLoad body If BoolOpAnd AttributeLoad NameLoad attr CompareGtE AttributeLoad NameLoad attr NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Return NameLoad Assign NameStore NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If BoolOpAnd AttributeLoad NameLoad attr CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad If NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareNotEq NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr keyword ListLoad Str Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr keyword ListLoad Str If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad TupleLoad NameLoad NameLoad Num orelse Expr Call AttributeLoad NameLoad attr NameLoad TupleLoad NameLoad NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr orelse Assign NameStore NameLoad Return Call NameLoad Str keyword NameLoad keyword Dict Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot AttributeLoad NameLoad attr body Return ListLoad If UnaryOpNot Call NameLoad NameLoad Str body Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr attr keyword Call NameLoad Str attr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Return Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr attr handlers ExceptHandler type AttributeLoad NameLoad attr body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore NameLoad For NameStore NameLoad body If AttributeLoad NameLoad attr body Assign NameStore NameLoad Break Assign NameStore Str Assign NameStore NameLoad If BoolOpAnd NameLoad CompareIn Str AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Index Num If CompareIn NameLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad Str body Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad kwarg body If BoolOpOr NameLoad CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr If CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body ImportFrom alias alias Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BoolOpOr UnaryOpNot AttributeLoad NameLoad attr CompareIsNot Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Str If BoolOpAnd NameLoad UnaryOpNot Call AttributeLoad NameLoad attr NameLoad UnaryOpNot Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr body Raise NameLoad If CompareNotIn NameLoad ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr If CompareNotEq AttributeLoad NameLoad attr NameLoad body If BoolOpAnd CompareIsNot NameLoad NameLoad UnaryOpNot AttributeLoad NameLoad attr CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword BoolOpOr NameLoad Str keyword BoolOpOr NameLoad NameLoad keyword BoolOpOr NameLoad AttributeLoad NameLoad attr Assign NameStore Call Call NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareEq NameLoad AttributeLoad NameLoad attr body If UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad Str orelse Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad orelse Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BoolOpOr NameLoad Str Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str ImportFrom alias If BoolOpAnd NameLoad UnaryOpNot Call AttributeLoad NameLoad attr NameLoad UnaryOpNot Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr body Raise NameLoad If CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad keyword BoolOpOr NameLoad AttributeLoad NameLoad attr Assign NameStore Call Call NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Raise NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad handlers ExceptHandler type NameLoad body If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Raise Expr Call AttributeLoad NameLoad attr orelse Assign NameStore NameLoad If BoolOpAnd UnaryOpNot AttributeLoad NameLoad attr CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Num body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIn Str AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Index Num Return Call AttributeLoad AttributeLoad NameLoad attr attr keyword SubscriptLoad NameLoad Index Num Assign NameStore NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr attr Str For NameStore NameLoad body If CompareIn Str AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Index Num Index Num Break If NameLoad body Return Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias alias Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Assign NameStore NameLoad Assign NameStore NameLoad orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body If CompareNotEq NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr If BoolOpAnd AttributeLoad NameLoad attr CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr orelse If CompareEq NameLoad AttributeLoad NameLoad attr body If CompareNotEq NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpBitAnd Call NameLoad keyword AttributeLoad NameLoad attr Call NameLoad BinOpBitOr Call NameLoad keyword NameLoad Call NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpBitAnd Call NameLoad keyword AttributeLoad NameLoad attr Call NameLoad BinOpBitOr Call NameLoad keyword NameLoad Call NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str ImportFrom alias Assign NameStore NameLoad Assign NameStore NameLoad If CompareEq AttributeLoad NameLoad attr Num body Assign NameStore NameLoad Assign NameStore Str orelse If CompareGt AttributeLoad NameLoad attr Num body Assign NameStore NameLoad Assign NameStore Str For NameStore AttributeLoad NameLoad attr body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad If Call NameLoad NameLoad NameLoad body Assign TupleStore NameStore NameStore NameLoad orelse If Call NameLoad NameLoad NameLoad body Assign NameStore NameLoad orelse Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad If NameLoad body Assign NameStore NameLoad handlers ExceptHandler type NameLoad name NameStore body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad keyword Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return NameLoad decorator_list ClassDef bases body Assign NameStore Str Assign NameStore ListLoad Str Str Str Assign NameStore TupleLoad TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str Assign NameStore TupleLoad TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str decorator_list decorator_list
N/A __future__ unicode_literals N/A logging django.contrib.auth.models User django.core.cache cache django.core.exceptions ObjectDoesNotExist django.db models django.db.models Count Q django.utils six timezone django.utils.translation ugettext_lazy _ djblets.cache.backend make_cache_key djblets.db.fields CounterField ModificationTimestampField djblets.db.query get_object_or_none reviewboard.attachments.models FileAttachment FileAttachmentHistory reviewboard.changedescs.models ChangeDescription reviewboard.diffviewer.models DiffSet DiffSetHistory reviewboard.reviews.errors PermissionError PublishError reviewboard.reviews.fields get_review_request_field reviewboard.reviews.managers ReviewRequestManager reviewboard.reviews.models.base_comment BaseComment reviewboard.reviews.models.base_review_request_details BaseReviewRequestDetails reviewboard.reviews.models.group Group reviewboard.reviews.models.screenshot Screenshot reviewboard.reviews.signals review_request_closed review_request_closing review_request_published review_request_publishing review_request_reopened review_request_reopening reviewboard.scmtools.models Repository reviewboard.site.models LocalSite reviewboard.site.urlresolvers local_site_reverse fetch_issue_counts N/A N/A review_request extra_query N/A None N/A N/A Fetches all issue counts for a review request.

    This queries all opened issues across all public comments on a
    review request and returns them.
     N/A issue_counts N/A N/A BaseComment OPEN N/A BaseComment RESOLVED N/A BaseComment DROPPED 0 0 0 N/A q N/A N/A Q public True N/A Q base_reply_to__isnull True N/A extra_query N/A N/A q N/A q extra_query N/A issue_statuses N/A N/A N/A N/A N/A review_request reviews filter q values comments__pk comments__issue_opened comments__issue_status file_attachment_comments__pk file_attachment_comments__issue_opened file_attachment_comments__issue_status general_comments__pk general_comments__issue_opened general_comments__issue_status screenshot_comments__pk screenshot_comments__issue_opened screenshot_comments__issue_status N/A issue_statuses N/A N/A comment_fields N/A comments file_attachment_comments general_comments screenshot_comments N/A set N/A set N/A set N/A set N/A issue_fields issue_statuses N/A N/A N/A key comments N/A N/A six iteritems comment_fields N/A N/A issue_opened N/A issue_fields N/A N/A key __issue_opened N/A comment_pk N/A issue_fields N/A N/A key __pk N/A N/A issue_opened N/A comment_pk comments N/A N/A N/A N/A comments add comment_pk N/A issue_status N/A issue_fields N/A N/A key __issue_status N/A issue_status N/A N/A N/A issue_counts N/A issue_status 1 N/A N/A N/A logging debug Calculated issue counts for review request ID %s across %s review(s): Resulting counts = %r; DB values = %r; Field IDs = %r N/A review_request pk N/A len issue_statuses issue_counts issue_statuses comment_fields N/A issue_counts N/A _initialize_issue_counts N/A N/A review_request N/A N/A N/A Initializes the issue counter fields for a review request.

    This will fetch all the issue counts and populate the counter fields.

    Due to the way that CounterField works, this will only be called once
    per review request, instead of once per field, due to all the fields
    being set at once. This will also take care of the actual saving of
    fields, rather than leaving that up to CounterField, in order to save
    all at once,
     N/A N/A N/A review_request pk None N/A N/A 0 N/A issue_counts N/A fetch_issue_counts review_request N/A N/A review_request issue_open_count N/A issue_counts N/A N/A BaseComment OPEN N/A N/A review_request issue_resolved_count N/A issue_counts N/A N/A BaseComment RESOLVED N/A N/A review_request issue_dropped_count N/A issue_counts N/A N/A BaseComment DROPPED N/A N/A N/A review_request save update_fields N/A issue_open_count issue_resolved_count issue_dropped_count N/A None N/A ReviewRequest N/A BaseReviewRequestDetails N/A N/A A review request.

    This is one of the primary models in Review Board. Most everything
    is associated with a review request.

    The ReviewRequest model contains detailed information on a review
    request. Some fields are user-modifiable, while some are used for
    internal state.
     N/A PENDING_REVIEW P N/A SUBMITTED S N/A DISCARDED D N/A STATUSES N/A N/A PENDING_REVIEW N/A _ Pending Review N/A SUBMITTED N/A _ Submitted N/A DISCARDED N/A _ Discarded N/A ISSUE_COUNTER_FIELDS N/A N/A BaseComment OPEN N/A BaseComment RESOLVED N/A BaseComment DROPPED issue_open_count issue_resolved_count issue_dropped_count N/A summary N/A N/A models CharField N/A _ summary max_length N/A BaseReviewRequestDetails MAX_SUMMARY_LENGTH N/A submitter N/A N/A models ForeignKey User verbose_name N/A _ submitter related_name review_requests N/A time_added N/A N/A models DateTimeField N/A _ time added default N/A timezone now N/A last_updated N/A ModificationTimestampField N/A _ last updated N/A status N/A N/A models CharField N/A _ status max_length 1 choices STATUSES db_index True N/A public N/A N/A models BooleanField N/A _ public default False N/A changenum N/A N/A models PositiveIntegerField N/A _ change number blank True null True db_index True N/A repository N/A N/A models ForeignKey Repository related_name review_requests verbose_name N/A _ repository null True blank True N/A email_message_id N/A N/A models CharField N/A _ e-mail message ID max_length 255 blank True null True N/A time_emailed N/A N/A models DateTimeField N/A _ time e-mailed null True default None blank True N/A diffset_history N/A N/A models ForeignKey DiffSetHistory related_name review_request verbose_name N/A _ diff set history blank True N/A target_groups N/A N/A models ManyToManyField Group related_name review_requests verbose_name N/A _ target groups blank True N/A target_people N/A N/A models ManyToManyField User verbose_name N/A _ target people related_name directed_review_requests blank True N/A screenshots N/A N/A models ManyToManyField Screenshot related_name review_request verbose_name N/A _ screenshots blank True N/A inactive_screenshots N/A N/A models ManyToManyField Screenshot verbose_name N/A _ inactive screenshots help_text N/A _ A list of screenshots that used to be but are no longer associated with this review request. related_name inactive_review_request blank True N/A file_attachments N/A N/A models ManyToManyField FileAttachment related_name review_request verbose_name N/A _ file attachments blank True N/A inactive_file_attachments N/A N/A models ManyToManyField FileAttachment verbose_name N/A _ inactive file attachments help_text N/A _ A list of file attachments that used to be but are no longer associated with this review request. related_name inactive_review_request blank True N/A file_attachment_histories N/A N/A models ManyToManyField FileAttachmentHistory related_name review_request verbose_name N/A _ file attachment histories blank True N/A changedescs N/A N/A models ManyToManyField ChangeDescription verbose_name N/A _ change descriptions related_name review_request blank True N/A depends_on N/A N/A models ManyToManyField ReviewRequest blank True null True verbose_name N/A _ Dependencies related_name blocks N/A last_review_activity_timestamp N/A N/A models DateTimeField N/A _ last review activity timestamp db_column last_review_timestamp null True default None blank True N/A shipit_count N/A CounterField N/A _ ship-it count default 0 N/A issue_open_count N/A CounterField N/A _ open issue count initializer _initialize_issue_counts N/A issue_resolved_count N/A CounterField N/A _ resolved issue count initializer _initialize_issue_counts N/A issue_dropped_count N/A CounterField N/A _ dropped issue count initializer _initialize_issue_counts N/A local_site N/A N/A models ForeignKey LocalSite blank True null True related_name review_requests N/A local_id N/A N/A models IntegerField site-local ID blank True null True N/A objects N/A ReviewRequestManager get_commit N/A N/A self N/A N/A N/A N/A N/A self commit_id None N/A N/A N/A self commit_id N/A N/A N/A N/A self changenum None N/A N/A N/A self commit_id N/A N/A six text_type N/A self changenum N/A N/A N/A N/A N/A N/A ReviewRequest objects filter pk N/A self pk update commit_id N/A N/A six text_type N/A self changenum N/A N/A self commit_id N/A None N/A set_commit N/A N/A self commit_id N/A N/A N/A N/A N/A N/A self changenum N/A int commit_id N/A N/A N/A N/A TypeError ValueError N/A N/A N/A N/A self commit_id commit_id N/A N/A commit N/A property get_commit set_commit approved N/A N/A self N/A N/A N/A Returns whether or not a review request is approved by reviewers.

        On a default installation, a review request is approved if it has
        at least one Ship It!, and doesn't have any open issues.

        Extensions may customize approval by providing their own
        ReviewRequestApprovalHook.
         N/A N/A N/A hasattr self _approved N/A N/A N/A N/A self _calculate_approval N/A N/A self _approved N/A property approval_failure N/A N/A self N/A N/A N/A Returns the error indicating why a review request isn't approved.

        If ``approved`` is ``False``, this will provide the text describing
        why it wasn't approved.

        Extensions may customize approval by providing their own
        ReviewRequestApprovalHook.
         N/A N/A N/A hasattr self _approval_failure N/A N/A N/A N/A self _calculate_approval N/A N/A self _approval_failure N/A property get_participants N/A N/A self N/A N/A N/A Returns a list of users who have discussed this review request. N/A N/A u N/A review N/A N/A N/A self reviews all N/A u N/A review participants N/A N/A participants N/A property get_participants get_new_reviews N/A N/A self user N/A N/A N/A Returns all new reviews since last viewing this review request.

        This will factor in the time the user last visited the review request,
        and find any reviews that have been added or updated since.
         N/A N/A N/A user is_authenticated N/A N/A N/A N/A hasattr self new_review_count N/A N/A self new_review_count 0 N/A N/A query N/A N/A N/A self visits filter user user N/A N/A N/A visit N/A query N/A 0 N/A N/A N/A N/A N/A N/A self reviews filter public True timestamp__gt N/A visit timestamp exclude user user N/A N/A N/A IndexError N/A N/A N/A N/A N/A N/A self reviews get_empty_query_set N/A get_display_id N/A N/A self N/A N/A N/A Returns the ID that should be exposed to the user. N/A N/A self local_site_id N/A N/A N/A self local_id N/A N/A N/A self id N/A N/A display_id N/A property get_display_id get_public_reviews N/A N/A self N/A N/A N/A Returns all public top-level reviews for this review request. N/A N/A N/A N/A self reviews filter public True base_reply_to__isnull True N/A is_accessible_by N/A N/A self user local_site request silent N/A None None False N/A N/A Returns whether or not the user can read this review request.

        This performs several checks to ensure that the user has access.
        This user has access if:

        * The review request is public or the user can modify it (either
          by being an owner or having special permissions).

        * The repository is public or the user has access to it (either by
          being explicitly on the allowed users list, or by being a member
          of a review group on that list).

        * The user is listed as a requested reviewer or the user has access
          to one or more groups listed as requested reviewers (either by
          being a member of an invite-only group, or the group being public).
         N/A N/A N/A self submitter user N/A N/A True N/A N/A N/A N/A self public N/A N/A N/A self is_mutable_by user N/A N/A N/A silent N/A N/A N/A N/A logging warning Review Request pk=%d (display_id=%d) is not accessible by user %s because it has not yet been published. N/A self pk N/A self display_id user request request N/A False N/A N/A N/A self repository N/A N/A N/A N/A self repository is_accessible_by user N/A N/A N/A silent N/A N/A N/A N/A logging warning Review Request pk=%d (display_id=%d) is not accessible by user %s because its repository is not accessible by that user. N/A self pk N/A self display_id user request request N/A False N/A N/A local_site N/A N/A N/A local_site is_accessible_by user N/A N/A N/A silent N/A N/A N/A N/A logging warning Review Request pk=%d (display_id=%d) is not accessible by user %s because its local_site is not accessible by that user. N/A self pk N/A self display_id user request request N/A False N/A N/A N/A N/A user is_authenticated N/A N/A N/A N/A N/A N/A self target_people filter pk N/A user pk count 0 N/A N/A True N/A groups N/A list N/A N/A N/A self target_groups all N/A N/A groups N/A N/A True N/A group groups N/A N/A N/A N/A group is_accessible_by user silent silent N/A N/A True N/A N/A silent N/A N/A N/A N/A logging warning Review Request pk=%d (display_id=%d) is not accessible by user %s because they are not directly listed as a reviewer, and none of the target groups are accessible by that user. N/A self pk N/A self display_id user request request N/A False N/A is_mutable_by N/A N/A self user N/A N/A N/A Returns whether the user can modify this review request. N/A N/A N/A N/A self submitter user N/A N/A user has_perm reviews.can_edit_reviewrequest N/A self local_site N/A is_status_mutable_by N/A N/A self user N/A N/A N/A Returns whether the user can modify this review request's status. N/A N/A N/A N/A self submitter user N/A N/A user has_perm reviews.can_change_status N/A self local_site N/A is_deletable_by N/A N/A self user N/A N/A N/A Returns whether the user can delete this review request. N/A N/A N/A user has_perm reviews.delete_reviewrequest N/A get_draft N/A N/A self user N/A None N/A N/A Returns the draft of the review request.

        If a user is specified, than the draft will be returned only if owned
        by the user. Otherwise, None will be returned.
         N/A N/A user N/A N/A N/A get_object_or_none N/A self draft N/A N/A N/A N/A user is_authenticated N/A N/A N/A get_object_or_none N/A self draft review_request__submitter user N/A None N/A get_pending_review N/A N/A self user N/A N/A N/A Returns the pending review owned by the specified user, if any.

        This will return an actual review, not a reply to a review.
         reviewboard.reviews.models.review Review N/A N/A N/A N/A Review objects get_pending_review self user N/A get_last_activity N/A N/A self diffsets reviews N/A None None N/A N/A Returns the last public activity information on the review request.

        This will return the last object updated, along with the timestamp
        of that object. It can be used to judge whether something on a
        review request has been made public more recently.
         N/A timestamp N/A self last_updated N/A updated_object self N/A N/A N/A diffsets N/A self repository_id N/A N/A latest_diffset N/A N/A self get_latest_diffset N/A diffsets N/A N/A latest_diffset N/A N/A N/A N/A diffsets append latest_diffset N/A diffsets N/A N/A diffset diffsets N/A N/A N/A N/A diffset timestamp timestamp N/A N/A timestamp N/A diffset timestamp N/A updated_object diffset N/A N/A reviews N/A N/A N/A N/A reviews N/A N/A N/A N/A N/A N/A self reviews filter public True latest N/A N/A N/A ObjectDoesNotExist N/A N/A reviews N/A N/A review reviews N/A N/A N/A N/A review public N/A N/A review timestamp timestamp N/A N/A timestamp N/A review timestamp N/A updated_object review N/A N/A timestamp updated_object N/A changeset_is_pending N/A N/A self commit_id N/A N/A N/A Returns whether the associated changeset is pending commit.

        For repositories that support it, this will return whether the
        associated changeset is pending commit. This requires server-side
        knowledge of the change.
         N/A cache_key N/A make_cache_key N/A commit-id-is-pending-%d-%s N/A N/A self pk commit_id N/A cached_values N/A N/A cache get cache_key N/A cached_values N/A N/A cached_values N/A is_pending False N/A scmtool N/A N/A N/A self repository get_scmtool N/A N/A N/A scmtool supports_pending_changesets N/A commit_id None N/A N/A changeset N/A N/A scmtool get_changeset commit_id allow_empty True N/A changeset N/A N/A is_pending N/A changeset pending N/A new_commit_id N/A N/A six text_type N/A changeset changenum N/A N/A commit_id new_commit_id N/A N/A N/A self commit_id new_commit_id N/A N/A N/A self save update_fields N/A commit_id N/A commit_id new_commit_id N/A draft N/A N/A self get_draft N/A draft N/A N/A N/A draft commit_id new_commit_id N/A N/A N/A draft save update_fields N/A commit_id N/A is_pending N/A N/A N/A N/A cache set cache_key N/A is_pending commit_id 60 N/A N/A N/A N/A cache set cache_key N/A is_pending commit_id N/A N/A is_pending commit_id N/A get_absolute_url N/A N/A self N/A N/A N/A N/A self local_site N/A N/A local_site_name N/A N/A self local_site name N/A N/A local_site_name None N/A N/A local_site_reverse review-request-detail local_site_name local_site_name kwargs N/A review_request_id N/A self display_id N/A get_diffsets N/A N/A self N/A N/A N/A Returns a list of all diffsets on this review request.

        This will also fetch all associated FileDiffs, as well as a count
        of the number of files (stored in DiffSet.file_count).
         N/A N/A N/A self repository_id N/A N/A N/A N/A N/A N/A hasattr self _diffsets N/A N/A N/A self _diffsets N/A list N/A N/A N/A N/A N/A N/A N/A DiffSet objects filter history__pk N/A self diffset_history_id annotate file_count N/A Count files prefetch_related files N/A N/A self _diffsets N/A get_latest_diffset N/A N/A self N/A N/A N/A Returns the latest diffset for this review request. N/A N/A N/A N/A N/A N/A N/A N/A DiffSet objects filter history N/A self diffset_history_id latest N/A N/A N/A N/A DiffSet DoesNotExist N/A N/A None N/A get_close_description N/A N/A self N/A N/A N/A Returns a tuple (description, is_rich_text) for the close text.

        This is a helper which is used to gather the data which is rendered in
        the close description boxes on various pages.
         N/A changedescs N/A list N/A N/A N/A self changedescs all N/A latest_changedesc None N/A changedesc changedescs N/A N/A N/A changedesc public N/A N/A latest_changedesc changedesc N/A N/A close_description N/A is_rich_text False N/A N/A latest_changedesc N/A status N/A latest_changedesc fields_changed N/A N/A status N/A N/A N/A N/A latest_changedesc fields_changed N/A status N/A new N/A 0 N/A N/A status N/A N/A ReviewRequest DISCARDED N/A ReviewRequest SUBMITTED N/A N/A close_description N/A latest_changedesc text N/A is_rich_text N/A latest_changedesc rich_text N/A N/A close_description is_rich_text N/A get_blocks N/A N/A self N/A N/A N/A Returns the list of review request this one blocks.

        The returned value will be cached for future lookups.
         N/A N/A N/A hasattr self _blocks N/A N/A N/A self _blocks N/A list N/A N/A N/A self blocks all N/A N/A self _blocks N/A save N/A N/A self update_counts N/A False kwargs N/A N/A N/A update_counts N/A N/A self id None N/A N/A N/A N/A self _update_counts N/A N/A N/A self status N/A self PENDING_REVIEW N/A N/A N/A N/A N/A N/A N/A self visits all delete N/A N/A N/A N/A super ReviewRequest self save kwargs N/A delete N/A N/A self N/A kwargs N/A reviewboard.accounts.models Profile LocalSiteProfile N/A N/A profile profile_is_new N/A N/A N/A Profile objects get_or_create user N/A self submitter N/A profile_is_new N/A N/A N/A N/A profile save N/A local_site N/A self local_site N/A N/A site_profile site_profile_is_new N/A N/A N/A LocalSiteProfile objects get_or_create user N/A self submitter profile profile local_site local_site N/A N/A N/A site_profile decrement_total_outgoing_request_count N/A N/A N/A self status N/A self PENDING_REVIEW N/A N/A N/A N/A site_profile decrement_pending_outgoing_request_count N/A N/A self public N/A N/A N/A N/A self _decrement_reviewer_counts N/A N/A N/A N/A super ReviewRequest self delete kwargs N/A can_publish N/A N/A self N/A N/A N/A N/A N/A N/A self public N/A N/A get_object_or_none N/A self draft None N/A close N/A N/A self type user description rich_text N/A None None False N/A N/A Closes the review request.

        Args:
            type (unicode):
                How the close occurs. This should be one of
                :py:attr:`SUBMITTED` or :py:attr:`DISCARDED`.

            user (django.contrib.auth.models.User):
                The user who is closing the review request.

            description (unicode):
                An optional description that indicates why the review request
                was closed.

            rich_text (bool):
                Indicates whether or not that the description is rich text.
         N/A N/A user N/A N/A N/A self is_mutable_by user N/A N/A N/A user has_perm reviews.can_change_status N/A self local_site N/A N/A PermissionError N/A N/A type N/A N/A self SUBMITTED N/A self DISCARDED N/A N/A N/A AttributeError N/A %s is not a valid close type type N/A N/A N/A review_request_closing send sender N/A self __class__ user user review_request self type type description description rich_text rich_text N/A draft N/A get_object_or_none N/A self draft N/A N/A N/A self status type N/A N/A N/A N/A draft None N/A N/A self public N/A type N/A self DISCARDED N/A N/A N/A N/A draft copy_fields_to_request self N/A changedesc N/A ChangeDescription public True text N/A description rich_text N/A rich_text False user N/A user N/A self submitter N/A status_field N/A N/A get_review_request_field status self N/A N/A N/A status_field record_change_entry changedesc N/A self status type N/A N/A N/A changedesc save N/A N/A N/A N/A self changedescs add changedesc N/A N/A type N/A self SUBMITTED N/A N/A N/A N/A self public N/A N/A N/A PublishError The draft must be public first. N/A N/A N/A self commit_id None N/A N/A self status type N/A N/A N/A self save update_counts True N/A N/A N/A review_request_closed send sender N/A self __class__ user user review_request self type type description description rich_text rich_text N/A N/A changedesc N/A N/A N/A N/A N/A self changedescs filter public True latest N/A N/A changedesc timestamp N/A N/A timezone now N/A N/A changedesc text N/A description N/A N/A changedesc rich_text rich_text N/A N/A N/A changedesc save N/A N/A N/A self save N/A N/A draft None N/A N/A N/A N/A draft delete N/A reopen N/A N/A self user N/A None N/A N/A Reopens the review request for review. reviewboard.reviews.models.review_request_draft ReviewRequestDraft N/A N/A user N/A N/A N/A self is_mutable_by user N/A N/A N/A user has_perm reviews.can_change_status N/A self local_site N/A N/A PermissionError N/A N/A N/A self status N/A self PENDING_REVIEW N/A N/A N/A N/A review_request_reopening send sender N/A self __class__ user user review_request self N/A changedesc N/A ChangeDescription user N/A user N/A self submitter N/A status_field N/A N/A get_review_request_field status self N/A N/A N/A status_field record_change_entry changedesc N/A self status N/A self PENDING_REVIEW N/A N/A N/A self status N/A self DISCARDED N/A N/A N/A self public False N/A N/A N/A changedesc save N/A draft N/A N/A ReviewRequestDraft create self N/A N/A draft changedesc changedesc N/A N/A N/A draft save N/A N/A N/A changedesc public True N/A N/A N/A changedesc save N/A N/A N/A N/A self changedescs add changedesc N/A N/A self status N/A self PENDING_REVIEW N/A N/A N/A self save update_counts True N/A N/A N/A review_request_reopened send sender N/A self __class__ user user review_request self N/A publish N/A N/A self user trivial N/A False N/A N/A Publishes the current draft attached to this review request.

        The review request will be mark as public, and signals will be
        emitted for any listeners.
         N/A N/A N/A N/A self is_mutable_by user N/A N/A PermissionError N/A draft N/A get_object_or_none N/A self draft N/A N/A N/A review_request_publishing send sender N/A self __class__ user user review_request_draft draft N/A N/A self public N/A N/A N/A N/A self _decrement_reviewer_counts N/A N/A draft None N/A N/A N/A N/A changes N/A N/A draft publish self send_notification False user user N/A N/A N/A Exception N/A N/A N/A self public N/A N/A N/A N/A self _increment_reviewer_counts N/A N/A N/A N/A draft delete N/A N/A changes None N/A N/A N/A N/A self public N/A N/A N/A N/A self changedescs count 0 N/A N/A N/A self time_added N/A N/A timezone now N/A N/A self public True N/A N/A N/A self save update_counts True N/A N/A N/A review_request_published send sender N/A self __class__ user user review_request self trivial trivial changedesc changes N/A determine_user_for_changedesc N/A N/A self changedesc N/A N/A N/A Determine the user associated with the change description.

        Args:
            changedesc (reviewboard.changedescs.models.ChangeDescription):
                The change description.

        Returns:
            django.contrib.auth.models.User:
            The user associated with the change description.
         N/A N/A submitter N/A changedesc fields_changed N/A N/A entry N/A N/A N/A N/A changedesc fields_changed N/A submitter N/A old N/A 0 N/A N/A N/A N/A User objects get pk N/A entry N/A 2 N/A user_pk None N/A changes N/A N/A N/A N/A N/A self changedescs filter pk__lt N/A changedesc pk order_by -pk N/A changedesc changes N/A N/A N/A submitter N/A changedesc fields_changed N/A N/A user_pk N/A N/A N/A N/A N/A changedesc fields_changed N/A submitter N/A new N/A 0 N/A 2 N/A N/A user_pk N/A N/A N/A N/A N/A User objects get pk user_pk N/A N/A self submitter N/A _update_counts N/A N/A self N/A N/A reviewboard.accounts.models Profile LocalSiteProfile N/A N/A profile profile_is_new N/A N/A N/A Profile objects get_or_create user N/A self submitter N/A profile_is_new N/A N/A N/A N/A profile save N/A local_site N/A self local_site N/A N/A site_profile site_profile_is_new N/A N/A N/A LocalSiteProfile objects get_or_create user N/A self submitter profile profile local_site local_site N/A site_profile_is_new N/A N/A N/A N/A site_profile save N/A N/A N/A self id None N/A N/A N/A N/A site_profile increment_total_outgoing_request_count N/A old_status None N/A old_public False N/A N/A r N/A N/A N/A ReviewRequest objects get pk N/A self id N/A old_status N/A r status N/A old_public N/A r public N/A N/A N/A self status N/A self PENDING_REVIEW N/A N/A N/A old_status N/A self status N/A N/A N/A N/A site_profile increment_pending_outgoing_request_count N/A N/A N/A self public N/A N/A self id None N/A N/A N/A N/A self _increment_reviewer_counts N/A N/A N/A old_status N/A self PENDING_REVIEW N/A N/A N/A old_status N/A self status N/A N/A N/A N/A site_profile decrement_pending_outgoing_request_count N/A old_public N/A N/A N/A N/A self _decrement_reviewer_counts N/A _increment_reviewer_counts N/A N/A self N/A N/A reviewboard.accounts.models LocalSiteProfile N/A groups N/A N/A N/A self target_groups all N/A people N/A N/A N/A self target_people all N/A N/A N/A N/A Group incoming_request_count increment groups N/A N/A N/A N/A LocalSiteProfile direct_incoming_request_count increment N/A N/A N/A LocalSiteProfile objects filter user__in people local_site N/A self local_site N/A N/A N/A N/A LocalSiteProfile total_incoming_request_count increment N/A N/A N/A LocalSiteProfile objects filter N/A N/A Q local_site N/A self local_site N/A Q N/A N/A Q user__review_groups__in groups N/A Q user__in people N/A N/A N/A N/A LocalSiteProfile starred_public_request_count increment N/A N/A N/A LocalSiteProfile objects filter profile__starred_review_requests self local_site N/A self local_site N/A _decrement_reviewer_counts N/A N/A self N/A N/A reviewboard.accounts.models LocalSiteProfile N/A groups N/A N/A N/A self target_groups all N/A people N/A N/A N/A self target_people all N/A N/A N/A N/A Group incoming_request_count decrement groups N/A N/A N/A N/A LocalSiteProfile direct_incoming_request_count decrement N/A N/A N/A LocalSiteProfile objects filter user__in people local_site N/A self local_site N/A N/A N/A N/A LocalSiteProfile total_incoming_request_count decrement N/A N/A N/A LocalSiteProfile objects filter N/A N/A Q local_site N/A self local_site N/A Q N/A N/A Q user__review_groups__in groups N/A Q user__in people N/A N/A N/A N/A LocalSiteProfile starred_public_request_count decrement N/A N/A N/A LocalSiteProfile objects filter profile__starred_review_requests self local_site N/A self local_site N/A _calculate_approval N/A N/A self N/A N/A N/A Calculates the approval information for the review request. reviewboard.extensions.hooks ReviewRequestApprovalHook N/A approved True N/A failure None N/A N/A N/A self shipit_count 0 N/A N/A approved False N/A failure The review request has not been marked "Ship It!" N/A N/A N/A N/A self issue_open_count 0 N/A N/A approved False N/A failure The review request has open issues. N/A hook N/A ReviewRequestApprovalHook hooks N/A N/A N/A N/A result N/A N/A hook is_approved self approved failure N/A N/A isinstance result tuple N/A N/A N/A approved failure result N/A N/A N/A isinstance result bool N/A N/A approved result N/A N/A N/A ValueError N/A %r returned an invalid value %r from is_approved N/A hook result N/A approved N/A N/A failure None N/A N/A N/A Exception N/A e N/A N/A extension N/A hook extension N/A N/A N/A logging error Error when running ReviewRequestApprovalHook.is_approved function in extension: "%s": %s N/A extension id e exc_info 1 N/A N/A self _approval_failure failure N/A N/A self _approved approved N/A get_review_request N/A N/A self N/A N/A N/A Returns this review request.

        This is provided so that consumers can be passed either a
        ReviewRequest or a ReviewRequestDraft and retrieve the actual
        ReviewRequest regardless of the object.
         N/A self N/A Meta N/A N/A N/A app_label reviews N/A ordering N/A -last_updated submitter summary N/A unique_together N/A N/A commit_id repository N/A changenum repository N/A local_site local_id N/A permissions N/A N/A can_change_status Can change status N/A can_submit_as_another_user Can submit as another user N/A can_edit_reviewrequest Can edit review request N/A N/A