allow • AI Agent SDK
allow: Create an allow result.
allow
Method
</div>
This is a method of the HookResult class in the types module.
Create an allow result.
Signature
def allow(reason: Optional[str]) -> 'HookResult'Parameters
ParamField
Optional[str]No description available.
Returns
ResponseField
'HookResult'The result of the operation.
Uses
cls
Source
View on GitHubpraisonaiagents/hooks/types.py at line 280