Skip to main content

set_approval_callback

Function
This function is defined in the approval module.
Set a custom approval callback (legacy API). The callback is wrapped into a :class:CallbackBackend and set as the global backend on the registry.

Signature

Parameters

Optional[Callable]
required
No description available.

Uses

  • get_approval_registry
  • reg.set_backend
  • CallbackBackend
  • reg.remove_backend

Source

View on GitHub

praisonaiagents/approval/__init__.py at line 82