unregister • AI Agent SDK
unregister: Unregister a hook by ID.
unregister
Method
</div>
This is a method of the HookRegistry class in the registry module.
Unregister a hook by ID.
Signature
def unregister(hook_id: str) -> boolParameters
ParamField
strThe hook ID to unregister
Returns
ResponseField
boolTrue if found and removed, False otherwise
Uses
logger.debug
Used By
Source
View on GitHubpraisonaiagents/hooks/registry.py at line 227