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

Method __enter__

tests/integration/test_mcp.py:80–82  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

78 self._buf = b""
79
80 def __enter__(self):
81 self.connect()
82 return self
83
84 def __exit__(self, *_):
85 self.disconnect()

Callers

nothing calls this directly

Calls 1

connectMethod · 0.95

Tested by

no test coverage detected