Skip to main content

request_approval

AsyncMethod
This is a method of the ConsoleBackend class in the backends module.
Async wrapper — runs the sync prompt in an executor.

Signature

Parameters

ApprovalRequest
required
No description available.

Returns

ApprovalDecision
The result of the operation.

Uses

  • asyncio.get_running_loop
  • loop.run_in_executor

Used By

Source

View on GitHub

praisonaiagents/approval/backends.py at line 164