Declare static methods with annotation (see #103)

This commit is contained in:
coderkun 2024-11-03 10:42:29 +01:00
parent 54fe825acf
commit 420946d7d4
2 changed files with 7 additions and 0 deletions

View file

@ -1035,6 +1035,7 @@ class MCGAlbum:
return False
return True
@staticmethod
def compare(album1, album2, criterion=None, reverse=False):
if criterion == None:
criterion = SortOrder.TITLE