Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str Assign NameStore TupleLoad Str Str Str Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam defaults vararg kwarg body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad vararg kwarg body Expr Str TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Return NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad body Return Call AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Dict TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad handlers ExceptHandler type NameLoad body Assign SubscriptStore NameLoad Index Str ListLoad Str If BoolOpAnd NameLoad NameLoad body If CompareEq NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str ListLoad Str orelse TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type NameLoad body Assign SubscriptStore NameLoad Index Str ListLoad Str If NameLoad body Return TupleLoad NameLoad Dict Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword TupleLoad Str Str Str Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return TupleLoad Num Dict AttributeLoad NameLoad attr NameLoad decorator_list NameLoad NameLoad Call NameLoad NameLoad NameLoad NameLoad NameLoad Call NameLoad keyword Call NameLoad Dict Str Str Str Dict Str Str NameLoad Str Dict Str Str NameLoad Str Dict Str Str NameLoad Str AttributeLoad NameLoad attr keyword Call NameLoad Dict Str Dict Str Str NameLoad Str AttributeLoad NameLoad attr keyword NameLoad FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Expr Str TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Return NameLoad If Call AttributeLoad NameLoad attr NameLoad NameLoad body Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad body Return Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad TupleLoad Str Str NameLoad Return TupleLoad Num Dict AttributeLoad NameLoad attr NameLoad decorator_list NameLoad NameLoad Call NameLoad NameLoad NameLoad NameLoad Call NameLoad keyword Call NameLoad Dict Str Str Dict Str Str NameLoad Str Dict Str Str NameLoad Str AttributeLoad NameLoad attr keyword NameLoad FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Pass decorator_list NameLoad Call NameLoad NameLoad FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Pass decorator_list NameLoad Call NameLoad NameLoad decorator_list Assign NameStore Call NameLoad
N/A __future__ unicode_literals django.core.exceptions ObjectDoesNotExist djblets.util.decorators augment_method_from djblets.webapi.decorators webapi_login_required webapi_response_errors webapi_request_fields djblets.webapi.errors DOES_NOT_EXIST INVALID_FORM_DATA NOT_LOGGED_IN PERMISSION_DENIED reviewboard.diffviewer.models FileDiff reviewboard.webapi.decorators webapi_check_local_site reviewboard.webapi.resources resources reviewboard.webapi.resources.base_diff_comment BaseDiffCommentResource ReviewDiffCommentResource N/A BaseDiffCommentResource N/A N/A Provides information on diff comments made on a review.

    If the review is a draft, then comments can be added, deleted, or
    changed on this list. However, if the review is already published,
    then no changes can be made.
     N/A allowed_methods N/A GET POST PUT DELETE N/A policy_id review_diff_comment N/A model_parent_key review N/A mimetype_list_resource_name review-diff-comments N/A mimetype_item_resource_name review-diff-comment get_queryset N/A N/A self request review_id N/A args kwargs N/A N/A q N/A N/A N/A super ReviewDiffCommentResource self get_queryset request args kwargs N/A N/A N/A q filter review review_id N/A create N/A N/A self request filediff_id interfilediff_id N/A None args kwargs N/A N/A Creates a new diff comment.

        This will create a new diff comment on this review. The review
        must be a draft review.
         N/A N/A N/A review_request N/A N/A N/A resources review_request get_object request args kwargs N/A review N/A N/A N/A resources review get_object request args kwargs N/A N/A N/A ObjectDoesNotExist N/A N/A DOES_NOT_EXIST N/A N/A N/A N/A N/A resources review has_modify_permissions request review N/A N/A N/A N/A self get_no_access_error request N/A filediff None N/A interfilediff None N/A invalid_fields N/A N/A N/A N/A filediff N/A N/A N/A FileDiff objects get pk filediff_id diffset__history__review_request review_request N/A N/A N/A ObjectDoesNotExist N/A N/A N/A invalid_fields N/A filediff_id N/A This is not a valid filediff ID N/A N/A filediff interfilediff_id N/A N/A N/A interfilediff_id N/A filediff id N/A N/A N/A invalid_fields N/A interfilediff_id N/A This cannot be the same as filediff_id N/A N/A N/A N/A interfilediff N/A N/A N/A FileDiff objects get pk interfilediff_id diffset__history N/A N/A filediff diffset history N/A N/A N/A ObjectDoesNotExist N/A N/A N/A invalid_fields N/A interfilediff_id N/A This is not a valid interfilediff ID N/A invalid_fields N/A N/A N/A INVALID_FORM_DATA N/A fields invalid_fields N/A new_comment N/A N/A self create_comment review review filediff filediff interfilediff interfilediff fields N/A filediff interfilediff first_line num_lines kwargs N/A N/A N/A N/A review comments add new_comment N/A N/A 201 N/A N/A self item_result_key new_comment N/A webapi_check_local_site webapi_login_required N/A webapi_response_errors DOES_NOT_EXIST INVALID_FORM_DATA NOT_LOGGED_IN PERMISSION_DENIED N/A webapi_request_fields required N/A dict N/A filediff_id first_line num_lines N/A type description int The ID of the file diff the comment is on. N/A type description int The line number the comment starts at. N/A type description int The number of lines the comment spans. N/A BaseDiffCommentResource REQUIRED_CREATE_FIELDS optional N/A dict N/A interfilediff_id N/A type description int The ID of the second file diff in the interdiff the comment is on. N/A BaseDiffCommentResource OPTIONAL_CREATE_FIELDS allow_unknown True update N/A N/A self request N/A args kwargs N/A N/A Updates a diff comment.

        This can update the text or line range of an existing comment.
         N/A N/A N/A N/A N/A N/A resources review_request get_object request args kwargs N/A review N/A N/A N/A resources review get_object request args kwargs N/A diff_comment N/A N/A self get_object request args kwargs N/A N/A N/A ObjectDoesNotExist N/A N/A DOES_NOT_EXIST N/A N/A N/A self should_update_issue_status diff_comment kwargs N/A N/A N/A N/A self update_issue_status request self args kwargs N/A N/A N/A N/A N/A resources review has_modify_permissions request review N/A N/A N/A N/A self get_no_access_error request N/A N/A N/A self update_comment diff_comment N/A first_line num_lines kwargs N/A N/A 200 N/A N/A self item_result_key diff_comment N/A webapi_check_local_site webapi_login_required N/A webapi_response_errors DOES_NOT_EXIST NOT_LOGGED_IN PERMISSION_DENIED N/A webapi_request_fields optional N/A dict N/A first_line num_lines N/A type description int The line number the comment starts at. N/A type description int The number of lines the comment spans. N/A BaseDiffCommentResource OPTIONAL_UPDATE_FIELDS allow_unknown True delete N/A N/A self N/A args kwargs N/A N/A Deletes the comment.

        This will remove the comment from the review. This cannot be undone.

        Only comments on draft reviews can be deleted. Attempting to delete
        a published comment will return a Permission Denied error.

        Instead of a payload response, this will return :http:`204`.
         N/A N/A webapi_check_local_site N/A augment_method_from BaseDiffCommentResource get_list N/A N/A self N/A args kwargs N/A N/A Returns the list of comments made on a review.

        This list can be filtered down by using the ``?line=`` and
        ``?interdiff-revision=``.

        To filter for comments that start on a particular line in the file,
        using ``?line=``.

        To filter for comments that span revisions of diffs, you can specify
        the second revision in the range using ``?interdiff-revision=``.
         N/A N/A webapi_check_local_site N/A augment_method_from BaseDiffCommentResource N/A N/A review_diff_comment_resource N/A ReviewDiffCommentResource