MCPcopy Index your code
hub / github.com/commandoperator/cmdop-sdk / _alloc_id

Method _alloc_id

python/src/cmdop/_transport.py:249–252  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

247 # -- write path --------------------------------------------------------
248
249 def _alloc_id(self) -> int:
250 i = self._next_id
251 self._next_id += 1
252 return i
253
254 def _write(self, env: pb.Envelope) -> None:
255 proc = self._proc

Callers 2

call_unaryMethod · 0.95
_start_streamMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected