Share via


ProcessEvent Class

A wrapper around KernelProcessEvent that helps to manage the namespace of the event.

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

ProcessEvent(*, namespace: str | None = None, inner_event: KernelProcessEvent)

Keyword-Only Parameters

Name Description
namespace
Required
inner_event
Required

Attributes

data

The data of the event.

id

The Id of the event.

visibility

The visibility of the event.

inner_event

inner_event: KernelProcessEvent

namespace

namespace: str | None