MCPcopy
hub / github.com/hydropix/TranslateBooksWithLLMs / exists

Method exists

src/api/sample_state.py:75–77  ·  view source on GitHub ↗
(self, sample_id: str)

Source from the content-addressed store, hash-verified

73 }
74
75 def exists(self, sample_id: str) -> bool:
76 with self._lock:
77 return sample_id in self._samples
78
79 def cancel(self, sample_id: str) -> bool:
80 """Flag a sample as cancelled. Returns False if the id is unknown."""

Callers 15

translation_api.pyFile · 0.45
setup_working_directoryFunction · 0.45
load_configFunction · 0.45
load_best_promptFunction · 0.45
validateMethod · 0.45
cmd_wiki_publishFunction · 0.45
_validate_against_schemaFunction · 0.45
cmd_add_translationsFunction · 0.45
load_languagesFunction · 0.45
load_reference_textsFunction · 0.45
load_runMethod · 0.45
delete_runMethod · 0.45

Calls

no outgoing calls