register_drainer
Decorator used to register a new result drainer type.
def register_drainer(
name: string
) - > function
Decorator used to register a new result drainer type.
Parameters
| Name | Type | Description |
|---|---|---|
| name | string | The unique identifier used to map the result drainer class within the registry. |
Returns
| Type | Description |
|---|---|
function | A decorator function that registers the decorated class into the global drainers registry using the provided name. |