Skip to main content

unregister

Method
This is a method of the HookRegistry class in the registry module.
Unregister a hook by ID.

Signature

def unregister(hook_id: str) -> bool

Parameters

hook_id
str
required
The hook ID to unregister

Returns

Returns
bool
True if found and removed, False otherwise

Uses

  • logger.debug

Used By

Source

View on GitHub

praisonaiagents/hooks/registry.py at line 207