MCPcopy
hub / github.com/allenai/open-instruct / __enter__

Method __enter__

open_instruct/code_utils/test_api.py:80–83  ·  view source on GitHub ↗

Enter the context manager.

(self)

Source from the content-addressed store, hash-verified

78 self.process = None
79
80 def __enter__(self):
81 """Enter the context manager."""
82 self.start()
83 return self
84
85 def __exit__(self, exc_type, exc_val, exc_tb):
86 """Exit the context manager."""

Callers

nothing calls this directly

Calls 1

startMethod · 0.95

Tested by

no test coverage detected