fix(lib): correct key attribute

This commit is contained in:
Jérome Eertmans
2023-08-04 10:45:19 +02:00
parent 71df62d79b
commit 6ed76ffd01
2 changed files with 2 additions and 3 deletions

View File

@ -93,7 +93,6 @@ class Keys(BaseModel): # type: ignore
def merge_with(self, other: "Keys") -> "Keys":
for key_name, key in self:
other_key = getattr(other, key_name)
print(set(key.ids))
key.ids = list(set(key.ids).union(other_key.ids))
key.name = other_key.name or key.name