Skip to main content

get_approval_callback

Function
This function is defined in the approval module.
Get the current approval callback function. Returns the custom callback if set, otherwise None. This should be used instead of directly accessing approval_callback to ensure the latest callback is always used.

Signature

def get_approval_callback() -> Optional[Callable]

Returns

Returns
Optional[Callable]
The result of the operation.