Add missing return types on init

CURA-8556
This commit is contained in:
Jaime van Kessel 2021-10-25 10:37:02 +02:00
parent daf450142b
commit 37ccf5b823
3 changed files with 5 additions and 3 deletions

View file

@ -16,7 +16,7 @@ class PackageModel(QObject):
QML. The model can also be constructed directly from a response received by the API.
"""
def __init__(self, package_data: Dict[str, Any], parent: QObject = None):
def __init__(self, package_data: Dict[str, Any], parent: QObject = None) -> None:
"""
Constructs a new model for a single package.
:param package_data: The data received from the Marketplace API about the package to create.