class_docstr: Operations with backends
class_docstr_tok: ["Operations","with","backends"]
docstr: List available backends in the project
  
  Returns:
      backends
docstr_tok: ["List","available","backends","in","the","project","Returns",":","backends"]
code: def list(self) -> List[Backend]:
      """
      List available backends in the project
  
      Returns:
          backends
      """
      return [
          Backend(self._api_client, backend_info)
          for backend_info in self._api_client.projects.get(
              project_name=self._project
          ).backends
      ]
  
file_path: dstack/src/dstack/api/_public/backends.py
imports: from typing import List
  from dstack._internal.core.models.backends import BackendInfo
  from dstack.api.server import APIClient
label_desc: Use image node_id 2 for calling the BackendCollection obj's underlying member method code with example usage: obj.list() and returns: unknown