Module ImportFrom alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias alias alias alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias alias alias alias ImportFrom alias ClassDef bases NameLoad body Expr Str Assign NameStore Str Assign NameStore NameLoad Assign NameStore Str Assign NameStore Str Assign NameStore NameLoad Assign NameStore TupleLoad Str Str Assign NameStore ListLoad Assign NameStore ListLoad FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Expr Str Return TupleLoad Num Dict Str Call AttributeLoad NameLoad attr keyword NameLoad NameLoad NameLoad decorator_list NameLoad NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad vararg kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str TryExcept body Assign NameStore Call NameLoad keyword Call NameLoad NameLoad keyword NameLoad handlers ExceptHandler type NameLoad body Assign NameStore BinOpBitAnd Call NameLoad keyword NameLoad BinOpBitOr BinOpBitOr Call NameLoad keyword NameLoad Call NameLoad keyword NameLoad Call NameLoad keyword NameLoad TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Return TupleLoad NameLoad Dict Str NameLoad ExceptHandler type AttributeLoad NameLoad attr body Assign NameStore BinOpMod Str NameLoad Return TupleLoad Call AttributeLoad NameLoad attr NameLoad Dict Str NameLoad If BoolOpAnd UnaryOpNot Call AttributeLoad Call AttributeLoad NameLoad attr attr CompareIs NameLoad NameLoad body Return TupleLoad NameLoad Dict Str Dict Str ListLoad Str If CompareIs NameLoad NameLoad body Assign NameStore Str TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad handlers ExceptHandler type NameLoad name NameStore body Return TupleLoad NameLoad Dict Str Str AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ExceptHandler type NameLoad body Return NameLoad ExceptHandler type NameLoad name NameStore body Return TupleLoad NameLoad Dict Str Str Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr ExceptHandler type NameLoad name NameStore body Return TupleLoad NameLoad Dict Str Str Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr ExceptHandler type NameLoad name NameStore body Return TupleLoad NameLoad Dict Str Str Str Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ExceptHandler type NameLoad name NameStore body Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str Return Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Return TupleLoad Num Dict decorator_list NameLoad NameLoad Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Call NameLoad keyword Dict Str Str Dict Str Str AttributeLoad NameLoad attr Str Dict Str Str NameLoad Str keyword Dict Str Str Str Dict Str Str AttributeLoad NameLoad attr Str Dict Str Str NameLoad Str Dict Str Str AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Str decorator_list decorator_list Assign NameStore Call NameLoad
N/A __future__ unicode_literals N/A logging django.db.models Q django.utils six 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.errors DiffParserError DiffTooBigError EmptyDiffError reviewboard.diffviewer.models DiffSet reviewboard.scmtools.models Repository reviewboard.scmtools.errors FileNotFoundError SCMError reviewboard.scmtools.git ShortSHA1Error reviewboard.webapi.decorators webapi_check_login_required webapi_check_local_site reviewboard.webapi.errors DIFF_EMPTY DIFF_PARSE_ERROR DIFF_TOO_BIG INVALID_REPOSITORY REPO_FILE_NOT_FOUND reviewboard.webapi.resources.diff DiffResource ValidateDiffResource N/A DiffResource N/A N/A Verifies whether a diff file will work.

    This allows clients to validate whether a diff file (with optional parent
    diff) can be parsed and displayed, without actually creating a review
    request first.
     N/A added_in 2.0 N/A singleton True N/A name diff_validation N/A uri_name diffs N/A uri_object_key None N/A allowed_methods N/A GET POST N/A item_child_resources N/A N/A list_child_resources N/A get N/A N/A self request N/A args kwargs N/A N/A Returns links for using this resource. N/A N/A 200 N/A links N/A N/A self get_links request request args kwargs N/A webapi_check_local_site webapi_check_login_required create N/A N/A self request repository basedir local_site_name base_commit_id N/A None None None args kwargs N/A N/A Validate a diff.

        This API has a similar signature to the ReviewRequest resource POST
        API, but instead of actually creating a review request, will return
        either OK or an error, depending on whether the included diff file
        parsed correctly.
         N/A local_site N/A N/A self _get_local_site local_site_name N/A path N/A N/A N/A request FILES get path N/A parent_diff_path N/A N/A N/A request FILES get parent_diff_path N/A N/A N/A query N/A Q pk N/A int repository local_site local_site N/A N/A N/A ValueError N/A N/A query N/A N/A Q local_site local_site N/A N/A N/A Q path repository N/A Q mirror_path repository N/A Q name repository N/A N/A N/A repository N/A N/A N/A Repository objects get query N/A N/A N/A N/A Repository DoesNotExist N/A N/A N/A INVALID_REPOSITORY N/A repository repository N/A N/A N/A Repository MultipleObjectsReturned N/A N/A msg N/A Too many repositories matched "%s". Try specifying the repository by name instead. repository N/A N/A N/A N/A INVALID_REPOSITORY with_message msg N/A repository repository N/A N/A N/A N/A N/A N/A N/A repository get_scmtool get_diffs_use_absolute_paths N/A basedir None N/A N/A N/A INVALID_FORM_DATA N/A fields N/A basedir N/A Given repository requires a base directory N/A N/A basedir None N/A N/A basedir N/A N/A N/A N/A N/A N/A DiffSet objects create_from_upload repository path parent_diff_path None basedir request base_commit_id base_commit_id save False N/A N/A N/A FileNotFoundError N/A e N/A N/A N/A REPO_FILE_NOT_FOUND N/A file revision N/A e path N/A N/A six text_type N/A e revision N/A N/A EmptyDiffError N/A N/A DIFF_EMPTY N/A N/A DiffTooBigError N/A e N/A N/A N/A DIFF_TOO_BIG N/A reason max_size N/A N/A six text_type e N/A e max_diff_size N/A N/A DiffParserError N/A e N/A N/A N/A DIFF_PARSE_ERROR N/A reason linenum N/A N/A six text_type e N/A e linenum N/A N/A ShortSHA1Error N/A e N/A N/A N/A REPO_FILE_NOT_FOUND N/A reason file revision N/A N/A six text_type e N/A e path N/A N/A six text_type N/A e revision N/A N/A SCMError N/A e N/A N/A N/A N/A DIFF_PARSE_ERROR with_message N/A N/A six text_type e N/A N/A Exception N/A e N/A N/A N/A N/A logging exception Unexpected error when validating diff. N/A N/A N/A DIFF_PARSE_ERROR with_message N/A Unexpected error when validating the diff: %s e N/A N/A 200 N/A N/A webapi_check_local_site webapi_login_required N/A webapi_response_errors DOES_NOT_EXIST NOT_LOGGED_IN PERMISSION_DENIED REPO_FILE_NOT_FOUND INVALID_FORM_DATA INVALID_REPOSITORY DIFF_EMPTY DIFF_TOO_BIG DIFF_PARSE_ERROR N/A webapi_request_fields required N/A repository path N/A type description N/A six text_type The path or ID of the repository. N/A type description file The main diff file. optional N/A basedir parent_diff_path base_commit_id N/A type description N/A six text_type The base directory that will prepended to all paths in the diff. This is needed for some types of repositories. The directory must be between the root of the repository and the top directory referenced in the diff paths. N/A type description file The optional parent diff to upload. N/A type description N/A six text_type The ID/revision this change is built upon. If using a parent diff, then this is the base for that diff. This may not be provided for all diffs or repository types, depending on how the diff was uploaded. _build_named_url N/A N/A self name N/A N/A N/A Builds a Django URL name from the provided name. N/A validate-diffs-resource N/A N/A N/A validate_diff_resource N/A ValidateDiffResource