code: def add(
      self,
      project_name: str,
      repo_id: str,
      secret_name: str,
      secret_value: str,
  ) -> Secret:
      body = AddSecretRequest(
          repo_id=repo_id,
          secret=Secret(name=secret_name, value=secret_value),
      )
      resp = self._request(
          f"/api/project/{project_name}/secrets/add", body=body.json()
      )
      return parse_obj_as(Secret, resp.json())
  
file_path: dstack/src/dstack/api/server/_secrets.py
imports: from typing import List
  from pydantic import parse_obj_as
  from dstack._internal.core.models.secrets import Secret
  from dstack._internal.server.schemas.secrets import AddSecretRequest, DeleteSecretsRequest, GetSecretsRequest, ListSecretsRequest
  from dstack.api.server._group import APIClientGroup
label_desc: Use image node_id 3 for calling the SecretsAPIClient obj's underlying member method code with example usage: obj.add(project_name, repo_id, secret_name, secret_value) and returns: parse_obj_as