This commit is contained in:
Nuno Campos 2023-08-18 14:21:34 +01:00
parent cc83f54694
commit e420bf22b6

View File

@ -1059,7 +1059,7 @@ class RunnableMapChunk(Dict[str, Any]):
"""
def __add__(self, other: RunnableMapChunk) -> RunnableMapChunk:
chunk = self.copy()
chunk = RunnableMapChunk(self)
for key in other:
if key not in chunk or chunk[key] is None:
chunk[key] = other[key]