API reference
python:irx:irx.extensions.handlers.HandlerConfiguration
class HandlerConfiguration
HandlerConfiguration(phase: Phase, contributions: tuple[HandlerContribution, ...], parent: HandlerConfiguration | None = None)
Source: packages/irx/src/irx/extensions/handlers.py:274
Validated frozen phase catalog with explicit parent derivation.
Construct a base from contributions without replacement intents. derive accepts additions and named replacements; the effective tuple preserves registration provenance. No runtime service or dispatcher is cached here.
Attributes
-
phase — Type: Phase
-
contributions — Type: tuple[HandlerContribution, Ellipsis]
-
parent — Type: HandlerConfiguration | None
Methods
-
__init__ —
-
__post_init__ — Validate every contribution and freeze the effective catalog.
-
derive — Return an isolated derived configuration.
-
validate_contract — Reject handlers requiring unavailable phase arguments or services.