Add back label api

This commit is contained in:
WQY\qiong
2022-11-18 19:09:57 +08:00
parent 7a85867483
commit f0c0577ed3

View File

@@ -95,6 +95,10 @@ def delete_label_cache(name: str, cs: ChangeSet) -> SqlChangeSet:
return SqlChangeSet(redo_sql, undo_sql, redo_cs, undo_cs)
def delete_label(name: str, cs: ChangeSet) -> ChangeSet:
return execute_command(name, delete_label_cache(name, cs))
class InpLabel:
def __init__(self, line: str) -> None:
tokens = line.split()