Get Hook Type • AI Agent SDK
get_hook_type: Get the hook type of a decorated function.
get_hook_type
Function
</div>
This function is defined in the middleware module.
Get the hook type of a decorated function.
Signature
def get_hook_type(func: Callable) -> Optional[str]Parameters
ParamField
CallableNo description available.
Returns
ResponseField
Optional[str]The result of the operation.
Used By
Source
View on GitHubpraisonaiagents/hooks/middleware.py at line 377