code: def set_members(
      self, project_name: str, members: List[MemberSetting]
  ) -> Project:
      body = SetProjectMembersRequest(members=members)
      resp = self._request(
          f"/api/projects/{project_name}/set_members", body=body.json()
      )
      return parse_obj_as(Project, resp.json())
  
file_path: dstack/src/dstack/api/server/_projects.py
imports: from typing import List
  from pydantic import parse_obj_as
  from dstack._internal.core.models.projects import Project
  from dstack._internal.server.schemas.projects import CreateProjectRequest, DeleteProjectsRequest, MemberSetting, SetProjectMembersRequest
  from dstack.api.server._group import APIClientGroup
label_desc: Use image node_id 5 for calling the ProjectsAPIClient obj's underlying member method code with example usage: obj.set_members(project_name, members) and returns: parse_obj_as