Skip to main content

set_approval_callback

Function
This function is defined in the approval module.
Set a custom approval callback function. The callback should accept (function_name, arguments, risk_level) and return ApprovalDecision.

Signature

def set_approval_callback(callback_fn: Callable) -> Any

Parameters

callback_fn
Callable
required
No description available.

Returns

Returns
Any
The result of the operation.