Skip to content

AuditHandler

autogen.beta.network.hub.expectations.AuditHandler #

Record the violation; no envelope, no state change.

name class-attribute instance-attribute #

name = 'audit'

handle async #

handle(hub, session_id, violation)
Source code in autogen/beta/network/hub/expectations.py
async def handle(
    self,
    hub: "Hub",
    session_id: str,
    violation: Violation,
) -> None:
    await _audit_violation(hub, session_id, violation)