#NEWLINE# def update_profile_image( self , filename , file_ = None ) : #NEWLINE# #INDENT# " :reference: https://dev.twitter.com/rest/reference/post/account/update_profile_image\n            :allowed_param:'include_entities', 'skip_status'\n        " #NEWLINE# ( headers , post_data ) = API . _pack_image ( filename , 700 , f = file_ ) #NEWLINE# return bind_api ( api = self , path = '/account/update_profile_image.json' , method = 'POST' , payload_type = 'user' , allowed_param = [ 'include_entities' , 'skip_status' ] , require_auth = True ) ( self , post_data = post_data , headers = headers )