set_handlers(
self,
handlers: list[BaseCallbackHandler],
inherit: bool = True
) ->| Name | Type | Description |
|---|---|---|
handlers* | list[BaseCallbackHandler] | |
inherit | bool | Default: True |
Set handlers as the only handlers on the callback manager.
The handlers to set.
Whether to inherit the handlers.