Fix type signature of function

Co-authored-by: Joey de l'Arago <joeydelarago@gmail.com>
This commit is contained in:
Casper Lamboo 2022-11-28 11:23:53 +01:00 committed by GitHub
parent a645fa7d96
commit f297909a82
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1632,7 +1632,7 @@ class MachineManager(QObject):
# - "my_profile - Fine" (only based on a default quality, no intent involved)
# - "my_profile - Engineering - Fine" (based on an intent)
@pyqtProperty("QList<QString>", notify = activeQualityDisplayNameChanged)
def activeQualityDisplayNameStringParts(self) -> [str]:
def activeQualityDisplayNameStringParts(self) -> List[str]:
result_map = self.activeQualityDisplayNameMap
string_parts = []