MCPcopy Index your code
hub / github.com/DeepLabCut/DeepLabCut / check

Method check

deeplabcut/gui/utils.py:139–159  ·  view source on GitHub ↗
(self, silent: bool = True)

Source from the content-addressed store, hash-verified

137 return self._running
138
139 def check(self, silent: bool = True):
140 if self._running:
141 # if a manual check happens while a silent one is running,
142 # keep the in-flight request but upgrade the result visibility
143 self._silent = self._silent and silent
144 return
145
146 self._running = True
147 self._silent = silent
148 self._result = {
149 "silent": silent,
150 "is_latest": True,
151 "latest_version": None,
152 "is_latest_plugin": True,
153 "latest_plugin_version": None,
154 "error": None,
155 }
156
157 self._start_request("dlc", self.DLC_URL)
158 self._start_request("napari-dlc", self.NAPARI_DLC_URL)
159 self._timer.start(self._timeout_ms)
160
161 def cancel(self):
162 if not self._running:

Callers 2

check_for_updatesMethod · 0.80

Calls 2

_start_requestMethod · 0.95
startMethod · 0.80

Tested by

no test coverage detected