MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / __enter__

Method __enter__

tests/utils/api_client.py:50–52  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

48 self._buffer = b""
49
50 def __enter__(self):
51 self.connect()
52 return self
53
54 def __exit__(self, exc_type, exc_val, exc_tb):
55 self.disconnect()

Callers

nothing calls this directly

Calls 1

connectMethod · 0.95

Tested by

no test coverage detected