yera.runtime.models.event_class

Shared event semantic taxonomy and block-type classification.

Symbols

def event_class_for — Return the semantic event class for a built-in block type.

event_class_for

event_class_for(
    block_type: str,
) → EventClass

Return 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.