mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Add missing return types on init
CURA-8556
This commit is contained in:
parent
daf450142b
commit
37ccf5b823
3 changed files with 5 additions and 3 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue