Skip to content

AuditHandler

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

No-op handler — audit emission is owned by the AuditLog listener.

Kept so manifests authored against the V1 vocabulary (on_violation: "audit") still resolve. The hub fans out on_expectation_fired to every listener (including the built-in AuditLog) before invoking the per-violation handler, so this handler has nothing to do.

name class-attribute instance-attribute #

name = 'audit'

handle async #

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