MCPcopy Create free account
hub / github.com/deepseek-ai/DeepSpec / _put

Method _put

deepspec/data/target_cache_dataset.py:461–468  ·  view source on GitHub ↗
(self, item)

Source from the content-addressed store, hash-verified

459 raise RuntimeError("Async target cache writer failed.") from self._exception
460
461 def _put(self, item):
462 while True:
463 self._raise_if_failed()
464 try:
465 self.queue.put(item, timeout=1.0)
466 return
467 except queue.Full:
468 continue
469
470 def write_sample(
471 self,

Callers 2

write_sampleMethod · 0.95
closeMethod · 0.95

Calls 1

_raise_if_failedMethod · 0.95

Tested by

no test coverage detected