Skip to content

Commit

Permalink
add a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
uhbrar committed Jul 10, 2024
1 parent 304ed17 commit 360f360
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions reasoner_pydantic/kgraph.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ def update(self, other):
self.attributes = other.attributes
if other.sources:
if self.sources:
# We need to do the union of the two sets and then update each
# source with the information from the other list
self.sources.update(other.sources)
for source in self.sources:
for other_source in other.sources:
Expand Down

0 comments on commit 360f360

Please sign in to comment.