Tune editor

This commit is contained in:
marc
2025-03-16 18:45:08 +01:00
parent a85efd0838
commit 6c83d11e5b
33 changed files with 960 additions and 312 deletions

View File

@@ -123,3 +123,6 @@ class Tema:
def with_ngrams(self):
self.compute_ngrams()
return self
def score(self) -> Optional[Link]:
return next(filter(lambda l: l.content_type is ContentType.PARTITURA, self.links), None)