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

Method _next_id

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

Source from the content-addressed store, hash-verified

89 # ------------------------------------------------------------------
90
91 def _next_id(self) -> int:
92 self._id += 1
93 return self._id
94
95 def _send(self, obj: dict) -> None:
96 assert self._sock, "Not connected"

Callers 1

requestMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected