#NEWLINE# def disable_upload_callbacks( request , operation_name , **kwargs ) : #NEWLINE# #INDENT# if ( ( operation_name in [ 'PutObject' , 'UploadPart' ] ) and hasattr ( request . body , 'disable_callback' ) ) : #NEWLINE# #INDENT# request . body . disable_callback ( )