MCPcopy Create free account
hub / github.com/microsoft/debugpy / __exit__

Method __exit__

tests/net.py:193–198  ·  view source on GitHub ↗

Sends an HTTP /exit GET request to the server. The server is expected to terminate its process while handling that request.

(self, exc_type, exc_value, exc_tb)

Source from the content-addressed store, hash-verified

191 return self
192
193 def __exit__(self, exc_type, exc_value, exc_tb):
194 """Sends an HTTP /exit GET request to the server.
195
196 The server is expected to terminate its process while handling that request.
197 """
198 self.get("/exit", log_errors=False)
199
200 def get(self, path, *args, **kwargs):
201 return WebRequest.get(self.url + path, *args, **kwargs)

Callers

nothing calls this directly

Calls 1

getMethod · 0.95

Tested by

no test coverage detected