Skip to main content

Module clients.kernel_task_message.client

Classes

KernelTaskMessageClient

class KernelTaskMessageClient(connection_config: h2o_notebook.clients.connection_config.ConnectionConfig, verify_ssl: bool = True, ssl_ca_cert: Optional[str] = None)

KernelTaskMessageClient manages Python kernel task messages.

Methods

list_all_kernel_task_messages

def list_all_kernel_task_messages(self, parent: str) ‑> List[h2o_notebook.clients.kernel_task_message.kernel_task_message.KernelTaskMessage]

List all KernelTaskMessages.

Args
parent : str
The resource name of the KernelTask to list KernelTaskMessages from. Format is workspaces/*/kernels/*/tasks/*.
Returns

List of KernelTaskMessage.

list_kernel_task_messages

def list_kernel_task_messages(self, parent: str, page_size: int = 0, page_token: str = '') ‑> h2o_notebook.clients.kernel_task_message.page.KernelTaskMessagesPage

Lists KernelTaskMessages.

Args
parent : str
The resource name of the KernelTask to list KernelTaskMessages from. Format is workspaces/*/kernels/*/tasks/*.
page_size : int
Maximum number of KernelTaskMessages to return in a response. If unspecified (or set to 0), at most 50 KernelTaskMessages will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
page_token : str
Page token. Leave unset to receive the initial page. To list any subsequent pages use the value of 'next_page_token' returned from the KernelTaskMessagesPage.
Returns
KernelTaskMessagesPage
KernelTaskMessagesPage object.

Feedback