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

Method __init__

deeplabcut/gui/utils.py:120–134  ·  view source on GitHub ↗
(self, dlc_version: str, plugin_version: str, timeout_ms: int = 5000, parent=None)

Source from the content-addressed store, hash-verified

118 NAPARI_DLC_URL = "https://pypi.org/pypi/napari-deeplabcut/json"
119
120 def __init__(self, dlc_version: str, plugin_version: str, timeout_ms: int = 5000, parent=None):
121 super().__init__(parent)
122 self._dlc_version = dlc_version
123 self._plugin_version = plugin_version
124 self._timeout_ms = timeout_ms
125
126 self._manager = QtNetwork.QNetworkAccessManager(self)
127 self._timer = QtCore.QTimer(self)
128 self._timer.setSingleShot(True)
129 self._timer.timeout.connect(self._on_timeout)
130
131 self._running = False
132 self._silent = True
133 self._replies = {}
134 self._result = {}
135
136 def is_running(self) -> bool:
137 return self._running

Callers

nothing calls this directly

Calls 2

connectMethod · 0.80
__init__Method · 0.45

Tested by

no test coverage detected