ctrlrun.ApprovalProvider — class, defined at src/ctrlrun/approval.py:304
runtime_checkable so a test can assert the shipped providers still answer to this
shape; it checks method names only, which is why the static check matters more.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
How a human is asked, and how the answer comes back (SPEC-v0.1 §4.3).
ctrlrun.ApprovalProvider — class, defined at src/ctrlrun/approval.py:304
from ctrlrun import ApprovalProvider
class ApprovalProvider(Protocol)
def request(action: Action, ttl: timedelta) -> ApprovalRequest
def wait(request_id: str, timeout: timedelta | None) -> Approval | None
runtime_checkable so a test can assert the shipped providers still answer to this
shape; it checks method names only, which is why the static check matters more.
Related topics
InterruptApprovalProviderWebhookApprovalProviderPython APIScriptedApprovalProviderLocalApprovalProviderWas this page helpful?