diff --git a/reasoner_pydantic/kgraph.py b/reasoner_pydantic/kgraph.py index 7844572..0f9a8f0 100644 --- a/reasoner_pydantic/kgraph.py +++ b/reasoner_pydantic/kgraph.py @@ -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: