client

package
v0.19.1069 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2026 License: AGPL-3.0 Imports: 9 Imported by: 0

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