Draft prune function
This commit is contained in:
parent
58d3cf38e9
commit
8ee036e380
12
karaokatalog/deduplicate/prune.py
Normal file
12
karaokatalog/deduplicate/prune.py
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
from collections.abc import Sequence
|
||||||
|
|
||||||
|
from karaokatalog.deduplicate.instructions.DeleteInstruction import DeleteInstruction
|
||||||
|
from karaokatalog.Song import Song
|
||||||
|
|
||||||
|
|
||||||
|
def prune(equivalent_songs: Sequence[Song]) -> Sequence[DeleteInstruction]:
|
||||||
|
"""
|
||||||
|
Prune a sequence of equivalent songs, by returning a sequence of instructions
|
||||||
|
that delete all but one song in this sequence.
|
||||||
|
"""
|
||||||
|
pass
|
Loading…
x
Reference in New Issue
Block a user