Files
microsoft--semantic-kernel/python/semantic_kernel/processes/local_runtime/local_message.py
T
wehub-resource-sync b957a53def
CodeQL / Analyze (csharp) (push) Waiting to run
CodeQL / Analyze (python) (push) Waiting to run
chore: import upstream snapshot with attribution
2026-07-13 13:21:23 +08:00

21 lines
598 B
Python

# Copyright (c) Microsoft. All rights reserved.
from typing import Any
from pydantic import Field
from semantic_kernel.kernel_pydantic import KernelBaseModel
from semantic_kernel.utils.feature_stage_decorator import experimental
@experimental
class LocalMessage(KernelBaseModel):
"""A message that is local to a namespace."""
source_id: str = Field(...)
destination_id: str = Field(...)
function_name: str = Field(...)
values: dict[str, Any | None] = Field(...)
target_event_id: str | None = Field(default=None)
target_event_data: Any | None = Field(default=None)