Skip to content

Commit 085f167

Browse files
committed
adding notes.
1 parent fa83ab2 commit 085f167

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lightning/pytorch/loggers/utilities.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ def __iadd__(self, other: Union[list[_T], Self]) -> Self:
212212
if isinstance(other, _ListMap):
213213
offset = len(self)
214214
for key, idx in other._dict.items():
215+
# notes: if there are duplicate keys, the ones from other will overwrite self
215216
self._dict[key] = idx + offset
216217

217218
return super().__iadd__(other)

0 commit comments

Comments
 (0)