1
0
mirror of https://github.com/hwchase17/langchain.git synced 2025-09-11 16:01:33 +00:00
This commit is contained in:
Nuno Campos
2023-08-18 14:21:34 +01:00
parent cc83f54694
commit e420bf22b6

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