code: def upload_code(
      self,
      project_name: str,
      repo_id: str,
      code_hash: str,
      fp: BinaryIO,
  ):
      self._request(
          f"/api/project/{project_name}/repos/upload_code",
          files={"file": (code_hash, fp)},
          params={"repo_id": repo_id},
      )
  
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 5 for calling the ReposAPIClient obj's underlying member method code with example usage: obj.upload_code(project_name, repo_id, code_hash, fp) without return types