Add pick_operation to sync with client

This commit is contained in:
WQY\qiong
2022-10-24 21:52:35 +08:00
parent 5597d3afd0
commit 8cfd22e17d
3 changed files with 14 additions and 7 deletions

View File

@@ -131,6 +131,9 @@ def take_snapshot(name: str, tag: str) -> int | None:
def pick_snapshot(name: str, tag: str, discard: bool = False) -> ChangeSet:
return api.pick_snapshot(name, tag, discard)
def pick_operation(name: str, operation: int, discard: bool = False) -> ChangeSet:
return api.pick_operation(name, operation, discard)
def sync_with_server(name: str, operation: int) -> ChangeSet:
return api.sync_with_server(name, operation)