mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
Consistent typing with function this is overriding
The function in the parent class has changed its type in commit 7968fe6d56205b20be9ba47e5a19be9f5914b084. This one should also change type.
This commit is contained in:
parent
09298eac93
commit
0f3a977a58
1 changed files with 1 additions and 1 deletions
|
@ -465,7 +465,7 @@ class XmlMaterialProfile(InstanceContainer):
|
|||
return "materials"
|
||||
|
||||
@classmethod
|
||||
def getVersionFromSerialized(cls, serialized: str) -> Optional[int]:
|
||||
def getVersionFromSerialized(cls, serialized: str) -> int:
|
||||
data = ET.fromstring(serialized)
|
||||
|
||||
version = XmlMaterialProfile.Version
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue