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.

block

Method
This is a method of the HookResult class in the types module.
Create a block result.

Signature

def block(reason: str) -> 'HookResult'

Parameters

reason
str
required
No description available.

Returns

Returns
'HookResult'
The result of the operation.

Uses

  • cls

Source

View on GitHub

praisonaiagents/hooks/types.py at line 143