Clarify import documentation

Contributes to issue CURA-8556.
This commit is contained in:
Ghostkeeper 2021-10-25 16:28:25 +02:00
parent 2d434a02e3
commit a3c364d65a
No known key found for this signature in database
GPG key ID: D2A8871EE34EC59A

View file

@ -13,7 +13,7 @@ from UM.TaskManagement.HttpRequestManager import HttpRequestManager # To reques
from UM.TaskManagement.HttpRequestScope import JsonDecoratorScope # To request JSON responses from the API. from UM.TaskManagement.HttpRequestScope import JsonDecoratorScope # To request JSON responses from the API.
from . import Marketplace # To get the list of packages. Imported this way to prevent circular imports. from . import Marketplace # To get the list of packages. Imported this way to prevent circular imports.
from .PackageModel import PackageModel # This list is a list of PackageModels. from .PackageModel import PackageModel # The contents of this list.
if TYPE_CHECKING: if TYPE_CHECKING:
from PyQt5.QtCore import QObject from PyQt5.QtCore import QObject