code: def refresh_token(self, username: str) -> UserWithCreds:
      body = RefreshTokenRequest(username=username)
      resp = self._request("/api/users/refresh_token", body=body.json())
      return parse_obj_as(UserWithCreds, resp.json())
  
file_path: dstack/src/dstack/api/server/_users.py
imports: from typing import List
  from pydantic import parse_obj_as
  from dstack._internal.core.models.users import GlobalRole, User, UserWithCreds
  from dstack._internal.server.schemas.users import CreateUserRequest, GetUserRequest, RefreshTokenRequest, UpdateUserRequest
  from dstack.api.server._group import APIClientGroup
label_desc: Use image node_id 6 for calling the UsersAPIClient obj's underlying member method code with example usage: obj.refresh_token(username) and returns: parse_obj_as