#NEWLINE# def change_my_password( self , old_password , password ) : #NEWLINE# #INDENT# '\n        TODO: add docstring\n        => True\n        ' #NEWLINE# params = { #NEWLINE# #INDENT# 'old_password' : old_password , #NEWLINE# 'password' : password , #NEWLINE# #UNINDENT# } #NEWLINE# with self . post ( '/v3/user/password/change' , params ) as res : #NEWLINE# #INDENT# ( code , body ) = ( res . status , res . read ( ) ) #NEWLINE# if ( code != 200 ) : #NEWLINE# #INDENT# self . raise_error ( 'Changing password failed' , res , body ) #NEWLINE# #UNINDENT# return True