(self, detach=True)
| 87 | self._notify(latest) |
| 88 | |
| 89 | def fetch(self, detach=True): |
| 90 | from dvc.daemon import daemon |
| 91 | |
| 92 | if detach: |
| 93 | daemon(["updater"]) |
| 94 | return |
| 95 | |
| 96 | self._with_lock(self._get_latest_version, "fetching") |
| 97 | |
| 98 | def _get_latest_version(self): |
| 99 | import json |