(Added) sync all function.

Added all_labels_except for choosing many labels.
Added fzf function for using all_labels_except.
This commit is contained in:
2023-03-01 20:53:39 +02:00
parent 467989bbd5
commit b99f2a0ffa
4 changed files with 23 additions and 1 deletions
+4
View File
@@ -80,3 +80,7 @@ def create_tables():
def all_labels():
with db:
return Source.select(Source.label)
def all_labels_except(labels):
with db:
return Source.select(Source.label).where(Source.label.not_in(labels))