diff options
author | fieldOfView <aldo@fieldofview.com> | 2020-01-14 23:56:06 +0300 |
---|---|---|
committer | fieldOfView <aldo@fieldofview.com> | 2020-01-14 23:56:06 +0300 |
commit | 6abf916ced39f122bbd2f17471f0a82809740c08 (patch) | |
tree | 92d8f328816f966f2da8e3b1baf34f51c6a6908c /cura/Operations/SetParentOperation.py | |
parent | 9f023eb28ea85318861a3e7ca86c6dc40b569b1f (diff) |
Fix typing in __init__ methods to appease MYPY
Diffstat (limited to 'cura/Operations/SetParentOperation.py')
-rw-r--r-- | cura/Operations/SetParentOperation.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cura/Operations/SetParentOperation.py b/cura/Operations/SetParentOperation.py index 7efe2618fd..7d71572a93 100644 --- a/cura/Operations/SetParentOperation.py +++ b/cura/Operations/SetParentOperation.py @@ -14,7 +14,7 @@ class SetParentOperation(Operation.Operation): # # \param node The node which will be reparented. # \param parent_node The node which will be the parent. - def __init__(self, node: SceneNode, parent_node: Optional[SceneNode]): + def __init__(self, node: SceneNode, parent_node: Optional[SceneNode]) -> None: super().__init__() self._node = node self._parent = parent_node |