client

package
v0.19.1237 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 9, 2026 License: AGPL-3.0 Imports: 9 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package client dispatches notebook cell runs to the warm, long-lived per-notebook Temporal workflow via update-with-start.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func New

func New(params Params) *Client

func (*Client) RunCell

func (c *Client) RunCell(ctx context.Context, req RunCellRequest) (*RunCellResponse, error)

RunCell dispatches a cell run to the notebook's warm workflow, starting the workflow if it isn't already running. It blocks only until the "run-cell" update handler completes (the run is created + enqueued), not until the run finishes — so the HTTP caller returns fast.

type Params

type Params struct {
	fx.In

	TClient temporalclient.Client
}

type RunCellRequest

type RunCellRequest struct {
	NotebookID     string
	CellID         string
	IdempotencyKey string
	OrgID          string
	InstallID      string
	TriggeredByID  string
}

type RunCellResponse

type RunCellResponse struct {
	NotebookCellRunID          string
	InstallActionWorkflowRunID string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL