fix: context to be updated on Metadata.merge

pull/189/head^2
msramalho 2025-02-11 12:51:17 +00:00
rodzic ed81dcdaf0
commit 7309cd32e7
Nie znaleziono w bazie danych klucza dla tego podpisu
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -44,6 +44,7 @@ class Metadata:
if overwrite_left:
if right.status and len(right.status):
self.status = right.status
self._context.update(right._context)
for k, v in right.metadata.items():
assert k not in self.metadata or type(v) == type(self.get(k))
if type(v) not in [dict, list, set] or k not in self.metadata: