Share via


KernelProcess Class

A kernel process.

Note: This class is marked as 'experimental' and may change in the future.

Initialize the kernel process.

Constructor

KernelProcess(state: KernelProcessState, steps: list[KernelProcessStepInfo], edges: dict[str, list[KernelProcessEdge]] | None = None, factories: dict[str, Callable] | None = None)

Parameters

Name Description
state
Required

The state of the process.

steps
Required

The steps of the process.

edges

The edges of the process. Defaults to None.

Default value: None
factories

The factories of the process. This allows for the creation of steps that require complex dependencies that cannot be JSON serialized or deserialized.

Default value: None

Attributes

factories

factories: dict[str, Callable]

inner_step_type

inner_step_type: type

is_experimental

is_experimental = True

output_edges

output_edges: dict[str, list[KernelProcessEdge]]

stage_status

stage_status = 'experimental'

state

state: KernelProcessStepState

steps

steps: list[KernelProcessStepInfo]