MCPcopy Create free account
hub / github.com/python/cpython / initialise_audit_events

Function initialise_audit_events

Doc/tools/extensions/audit_events.py:81–84  ·  view source on GitHub ↗

Initialise the audit_events attribute on the environment.

(app: Sphinx)

Source from the content-addressed store, hash-verified

79
80
81def initialise_audit_events(app: Sphinx) -> None:
82 """Initialise the audit_events attribute on the environment."""
83 if not hasattr(app.env, "audit_events"):
84 app.env.audit_events = AuditEvents()
85
86
87def audit_events_purge(

Callers

nothing calls this directly

Calls 1

AuditEventsClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…