Share via


ProcessMessage Class

Represents a message used in a process runtime.

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

ProcessMessage(*, source_id: str, destination_id: str, function_name: str, values: dict[str, Any], target_event_id: str | None = None, target_event_data: Any | None = None)

Keyword-Only Parameters

Name Description
source_id
Required
destination_id
Required
function_name
Required
values
Required
target_event_id
Required
target_event_data
Required

Attributes

destination_id

destination_id: str

function_name

function_name: str

source_id

source_id: str

target_event_data

target_event_data: Any | None

target_event_id

target_event_id: str | None

values

values: dict[str, Any]