mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Added typing
Contributes to: CURA-8587
This commit is contained in:
parent
09709ede8b
commit
bd2f270803
3 changed files with 15 additions and 16 deletions
|
@ -3,7 +3,7 @@
|
|||
|
||||
from PyQt5.QtCore import pyqtProperty, pyqtSignal, pyqtSlot
|
||||
from PyQt5.QtNetwork import QNetworkReply
|
||||
from typing import Optional, TYPE_CHECKING
|
||||
from typing import Optional, Set, TYPE_CHECKING
|
||||
|
||||
from UM.i18n import i18nCatalog
|
||||
from UM.Logger import Logger
|
||||
|
@ -31,7 +31,7 @@ class RemotePackageList(PackageList):
|
|||
self._request_url = self._initialRequestUrl()
|
||||
self.isLoadingChanged.connect(self._onLoadingChanged)
|
||||
self.isLoadingChanged.emit()
|
||||
self._locally_installed = { p["package_id"] for p in self._manager.locally_installed_packages }
|
||||
self._locally_installed: Set[str] = { p["package_id"] for p in self._manager.locally_installed_packages }
|
||||
|
||||
def __del__(self) -> None:
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue