Python SDK (v0.30.0)Reference
hardware
Hardware module.
hardware module
Hardware module.
class HardwareWithDetails
Bases: Hardware
Represents a hardware item with more details.
gpus : int
Number of GPUs available on the hardware.
cpus : int
Number of CPUs available on the hardware.
vram_gb : int
Amount of VRAM (in GB) available on the hardware.
ram_gib : int
Total RAM (in GiB) available on the hardware.
created_at : str
Timestamp when the hardware was created.
name : str
identifier : str
description : str | None
Description of the hardware.
class HardwareResource(api)
Bases: Resource
Initializes the Resource with an API instance.
- Parameters: api (API) – An instance of the API class.
list(pagination_options=None)
List hardware.
- Parameters: pagination_options (PaginationOptions | None) – Optional settings to control pagination behavior.
- Returns: Paginated response containing hardware items and navigation metadata.
- Return type: PaginatedResponse[Hardware]
async async_list(pagination_options=None)
List hardware.
- Parameters: pagination_options (PaginationOptions | None) – Optional settings to control pagination behavior.
- Returns: Paginated response containing hardware items and navigation metadata.
- Return type: PaginatedResponse[Hardware]