MCPcopy Create free account
hub / github.com/URLab-Sim/UnrealRoboticsLab / _reset_diags

Function _reset_diags

Scripts/codegen/_codegen_core.py:87–91  ·  view source on GitHub ↗

Reset the diag buffer between runs so back-to-back invocations in the same Python process (test runners, integration shells) don't carry stale state.

()

Source from the content-addressed store, hash-verified

85
86
87def _reset_diags() -> None:
88 """Reset the diag buffer between runs so back-to-back invocations
89 in the same Python process (test runners, integration shells)
90 don't carry stale state."""
91 _DIAGS_BUFFER.reset()
92
93
94# ---------------------------------------------------------------------------

Calls 1

resetMethod · 0.80