Skip to main content

StepContext

What an iterate callable receives: one slot per batched session (in batch order) and the stream the step runs on. Return one StepResult per slot, in the same order. Valid only during the call; a later access raises RuntimeError.

slots (property)​

The batched sessions' slots, in batch order.

stream (property)​

The stream the step runs on.

__init__​

__init__(self, /, *args, **kwargs)

Initialize self. See help(type(self)) for accurate signature.