Support compress batch commands as one command

This commit is contained in:
WQY\qiong
2022-10-26 20:42:53 +08:00
parent 65e2ce2541
commit 89cc1acc66
5 changed files with 223 additions and 9 deletions

View File

@@ -137,6 +137,9 @@ def pick_operation(name: str, operation: int, discard: bool = False) -> ChangeSe
def sync_with_server(name: str, operation: int) -> ChangeSet:
return api.sync_with_server(name, operation)
def execute_batch_command(name: str, cs: ChangeSet) -> ChangeSet:
return api.execute_batch_command(name, cs)
def execute_batch_commands(name: str, cs: ChangeSet) -> ChangeSet:
return api.execute_batch_commands(name, cs)