# Event Source: https://www.tensorplay.cn/docs/generated/tensorplay.distributed.elastic.events.Event.html ```python class tensorplay.distributed.elastic.events.Event(*args: Any, name: str | None = None, source: EventSource | str | None = None, timestamp: int | None = None, metadata: dict[str, str | int | float | bool | None] | None = None, event_type: str | None = None, created: int | None = None) ``` A single agent or worker lifecycle event. event_type is a free-form string (typically a [NodeState](/docs/generated/tensorplay.distributed.elastic.events.NodeState.html#tensorplay.distributed.elastic.events.NodeState) value) and metadata holds structured context such as rank ids.