Skip to main content

Module clients.kernel.kernel_template_info

Functions

from_api_object

def from_api_object(api_object: h2o_notebook.gen.model.v1_kernel_template_info.V1KernelTemplateInfo) ‑> KernelTemplateInfo

Classes

KernelTemplateInfo

class KernelTemplateInfo(milli_cpu_request: int = 0, milli_cpu_limit: int = 0, gpu_resource: str = '', gpu: int = 0, memory_bytes_request: str = '0', memory_bytes_limit: str = '0', storage_bytes: str = '0', storage_class_name: str = '', yaml_pod_template_spec: str = '', max_idle_duration: str = '0s', template_environmental_variables: Dict[str, str] = None)

KernelTemplateInfo contains data from the KernelTemplate that is used to create a Kernel. The original KernelTemplate might be deleted during the lifetime of the Kernel.

Methods

to_api_object

def to_api_object(self) ‑> h2o_notebook.gen.model.v1_kernel_template_info.V1KernelTemplateInfo

Feedback