MCPcopy
hub / github.com/OpenMOSS/MOSS-TTS / get

Method get

moss_tts_realtime/fast_api.py:531–536  ·  view source on GitHub ↗
(self, session_id: str)

Source from the content-addressed store, hash-verified

529 return sess
530
531 def get(self, session_id: str) -> Optional[SessionRuntime]:
532 with self._lock:
533 sess = self._sessions.get(session_id)
534 if sess is not None:
535 sess.touch()
536 return sess
537
538 def delete(self, session_id: str) -> None:
539 with self._lock:

Callers 15

audio_readerFunction · 0.45
_encode_audio_tokensMethod · 0.45
_encode_audio_tokensMethod · 0.45
_session_workerMethod · 0.45
_handle_start_turnMethod · 0.45
tts_session_pushFunction · 0.45
tts_session_audioFunction · 0.45
genFunction · 0.45
tts_session_closeFunction · 0.45
validate_recordsFunction · 0.45
_get_ref_audio_codesMethod · 0.45
collect_pathsFunction · 0.45

Calls 1

touchMethod · 0.80

Tested by

no test coverage detected