Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.praison.ai/llms.txt

Use this file to discover all available pages before exploring further.

has_hooks

Method
This is a method of the HookRegistry class in the registry module.
Check if there are any hooks registered for an event.

Signature

def has_hooks(event: HookEvent) -> bool

Parameters

event
HookEvent
required
No description available.

Returns

Returns
bool
The result of the operation.

Uses

  • get_hooks

Used By

Source

View on GitHub

praisonaiagents/hooks/registry.py at line 250

Hooks Concept

Hook Events

Callbacks