This commit is contained in:
wqy
2022-09-07 20:21:58 +08:00
parent 3a694d5e03
commit 66e2e50321
2 changed files with 7 additions and 7 deletions

View File

@@ -1,8 +1,8 @@
class ChangeSet:
def __init__(self) -> None:
self.added : list[dict[str, str]] = {}
self.deleted : list[dict[str, str]] = {}
self.updated : list[dict[str, str]] = {}
self.added : list[dict[str, str]] = []
self.deleted : list[dict[str, str]] = []
self.updated : list[dict[str, str]] = []
def add(self, type: str, id: str) -> None:
self.added.append({ 'type': type, 'id': id })