def update_uesr_profile(self, id, email=None, realname=None, comment=None, **kwargs): client = self._get_client(**kwargs) user_rofile = swagger_client.UserProfile(email, realname, comment) _, _, header = client.users_user_id_put_with_http_info(id, user_rofile) return id
def update_user_profile(self, user_id, email=None, realname=None, comment=None, **kwargs): user_rofile = swagger_client.UserProfile(email, realname, comment) _, status_code, _ = self._get_client( **kwargs).users_user_id_put_with_http_info(user_id, user_rofile) base._assert_status_code(200, status_code) return user_id