MCPcopy Create free account
hub / github.com/openai/openai-agents-python / _require

Function _require

examples/mcp/manager_example/smoke_test.py:90–92  ·  view source on GitHub ↗
(condition: bool, message: str)

Source from the content-addressed store, hash-verified

88
89
90def _require(condition: bool, message: str) -> None:
91 if not condition:
92 raise RuntimeError(message)
93
94
95async def _exercise_app(mcp_port: int) -> None:

Callers 1

_exercise_appFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected