#NEWLINE# def get_user_details( self , response ) : #NEWLINE# #INDENT# 'Return user details from DigitalOcean account' #NEWLINE# ( fullname , first_name , last_name ) = self . get_user_names ( ( response . get ( 'name' ) or '' ) ) #NEWLINE# return { #NEWLINE# #INDENT# 'username' : response [ 'account' ] . get ( 'email' ) , #NEWLINE# 'email' : response [ 'account' ] . get ( 'email' ) , #NEWLINE# 'fullname' : fullname , #NEWLINE# 'first_name' : first_name , #NEWLINE# 'last_name' : last_name , #NEWLINE# #UNINDENT# }