code: def list(self, project_name: str) -> List[RepoHead]:
      resp = self._request(f"/api/project/{project_name}/repos/list")
      return parse_obj_as(List[RepoHead], resp.json())
  
file_path: dstack/src/dstack/api/server/_repos.py
imports: from typing import BinaryIO, List, Optional
  from pydantic import parse_obj_as
  from dstack._internal.core.models.repos import AnyRepoInfo, RemoteRepoCreds, RepoHead
  from dstack._internal.server.schemas.repos import DeleteReposRequest, GetRepoRequest, SaveRepoCredsRequest
  from dstack.api.server._group import APIClientGroup
label_desc: Use image node_id 1 for calling the ReposAPIClient obj's underlying member method code with example usage: obj.list(project_name) and returns: parse_obj_as