API reference
python:irx:irx.extensions.handlers.HandlerContribution
class HandlerContribution
HandlerContribution(identity: str, owner: str, phase: Phase, signature: tuple[type[object], type[object]], implementation: Callable[[object, object], None], source: str, replaces: str | None = None)
Source: packages/irx/src/irx/extensions/handlers.py:60
Immutable registration metadata produced by contribute.
Identity, provider, phase, callable provenance, and the exact nominal signature remain inspectable. The adapter retains callable annotations and checks both nominal arguments before calling the implementation.
Attributes
-
identity — Type: str
-
owner — Type: str
-
phase — Type: Phase
-
signature — Type: tuple[type[object], type[object]]
-
implementation — Type: Callable[[object, object], None]
-
source — Type: str
-
replaces — Type: str | None
Methods
-
__init__ —
-
__post_init__ — Validate generated constructor arguments and callable contracts.