#NEWLINE# @ request_method_decorator #NEWLINE# def upload_diff( self , diff , parent_diff = None , base_dir = None , base_commit_id = None , **kwargs ) : #NEWLINE# #INDENT# 'Upload a diff to the resource.\n\n        The diff and parent_diff arguments should be strings containing the\n        diff output.\n        ' #NEWLINE# return self . prepare_upload_diff_request ( diff , parent_diff = parent_diff , base_dir = base_dir , base_commit_id = base_commit_id , ** kwargs )