MCPcopy Index your code
hub / github.com/openai/openai-agents-python / clear

Method clear

tests/testing_processor.py:55–59  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

53 return traces
54
55 def clear(self) -> None:
56 with self._lock:
57 self._spans.clear()
58 self._traces.clear()
59 self._events.clear()
60
61 def shutdown(self) -> None:
62 pass

Callers 15

runMethod · 0.80
cleanupMethod · 0.80
cleanupMethod · 0.80
_release_agentsMethod · 0.80
pty_terminate_allMethod · 0.80
_collect_pty_outputMethod · 0.80
pty_terminate_allMethod · 0.80
_collect_pty_outputMethod · 0.80
_flush_parallel_batchMethod · 0.80
_flush_bufferMethod · 0.80
readMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected