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

Method close

examples/run_examples.py:136–144  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

134 url: str
135
136 def close(self) -> None:
137 if self.process.poll() is None:
138 self.process.terminate()
139 try:
140 self.process.wait(timeout=5)
141 except subprocess.TimeoutExpired:
142 self.process.kill()
143 self.process.wait(timeout=5)
144 self.temp_dir.cleanup()
145
146
147def normalize_relpath(relpath: str) -> str:

Callers 2

run_singleFunction · 0.45

Calls 4

terminateMethod · 0.45
waitMethod · 0.45
killMethod · 0.45
cleanupMethod · 0.45

Tested by

no test coverage detected