Share via


KernelProcessStep Class

A KernelProcessStep Base class for process steps.

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

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

Constructor

KernelProcessStep(*, state: TState | None = None)

Keyword-Only Parameters

Name Description
state
Required

Methods

activate

Activates the step and sets the state.

activate

Activates the step and sets the state.

async activate(state: KernelProcessStepState[TState])

Parameters

Name Description
state
Required

Attributes

is_experimental

is_experimental = True

stage_status

stage_status = 'experimental'

state

state: TState | None