yera.runtime.models.event_class
Shared event semantic taxonomy and block-type classification.
Symbols
event_class_for
event_class_for(
block_type: str,
) → EventClassReturn the semantic event class for a built-in block type.
Parameters
block_type
type: str
Runtime output block type.
Returns
type: EventClass
The event class used to route that block.
Raises
ValueError
If the block type is not registered.