clear
Method
This is a method of the HookRegistry class in the registry module.Clear all hooks or hooks for a specific event.
Signature
Parameters
Optional event to clear hooks for
Returns
The result of the operation.
Clear all hooks or hooks for a specific event.
This is a method of the HookRegistry class in the registry module.Clear all hooks or hooks for a specific event.
def clear(event: Optional[HookEvent]) -> Any