Skip to main content

Module clients.kernel_template.kernel_template_config

Classes

KernelTemplateConfig

class KernelTemplateConfig(kernel_template_id: str, gpu: int, memory_bytes_limit: str, max_idle_duration: str, environmental_variables: Dict[str, str] = None, yaml_pod_template_spec: str = '', gpu_resource: str = '', milli_cpu_request: int = 0, milli_cpu_limit: int = 0, memory_bytes_request: str = '0', storage_bytes: str = '0', storage_class_name: str = '', disabled: bool = False, workspace_id: str = '')

KernelTemplateConfig object used as input for apply method.

Methods

get_name

def get_name(self)

Feedback