MCPcopy
hub / github.com/WEIFENG2333/VideoCaptioner / start

Method start

videocaptioner/cli/output.py:64–69  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

62 self._is_tty = hasattr(sys.stderr, "isatty") and sys.stderr.isatty()
63
64 def start(self) -> "ProgressLine":
65 self._stop.clear()
66 if self._is_tty:
67 self._thread = threading.Thread(target=self._spin, daemon=True)
68 self._thread.start()
69 return self
70
71 def update(self, percent: int, message: str = "") -> None:
72 self.percent = percent

Callers 15

run_thread_with_timeoutFunction · 0.80
run_thread_with_timeoutFunction · 0.80
start_readingMethod · 0.80
runFunction · 0.80
runFunction · 0.80
runFunction · 0.80
runFunction · 0.80
runFunction · 0.80
__init__Method · 0.80
start_downloadMethod · 0.80
_download_modelMethod · 0.80

Calls 1

clearMethod · 0.80

Tested by 2

run_thread_with_timeoutFunction · 0.64
run_thread_with_timeoutFunction · 0.64